-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working on github action release
- Loading branch information
“Fernando
committed
Jan 13, 2022
1 parent
737c33c
commit 3fe2a7c
Showing
5 changed files
with
31 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "travis"] | ||
path = travis | ||
url = https://github.com/nemgrouplimited/travis-functions.git | ||
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
. ./travis/node-functions.sh | ||
VERSION="$(node_load_version)" | ||
VERSION="$(npm run version --silent)" | ||
TAG=${1:-alpha} | ||
echo "publishing $VERSION with tag $TAG" | ||
npm pack | ||
/bin/bash travis/node-functions.sh node_publish_alpha $TAG | ||
NEW_VERSION="$VERSION-$TAG-$(date +%Y%m%d%H%M)" | ||
npm version "$NEW_VERSION" --commit-hooks false --git-tag-version false | ||
npm publish --tag alpha | ||
npm version "$VERSION" --commit-hooks false --git-tag-version false | ||
npm run style:fix |
Submodule travis
deleted from
0bb6db