Last active
October 19, 2021 04:11
-
-
Save victorbruce/f9e18b687f6ba5d66d06c441e6945ce1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
tag-version-release: | |
needs: build-production | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@master | |
- name: Install Dependencies | |
run: | | |
npm install | |
- name: Get Version Number | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "username" | |
export PACKAGE_VERSION=$(node -p -e 'require("./package.json").version') | |
git tag -a "$PACKAGE_VERSION" -m "latest version" | |
git push origin --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment