Skip to content

Commit

Permalink
Various tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jcholder-thoughtworks committed Feb 3, 2021
1 parent 9a8f462 commit 475e873
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
- name: Publish to Package Repository
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bash _publishToRepo.sh ${{ github.ref }}
run: bash _publishToRepo.sh --release-version ${{ github.ref }}
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Create Release
uses: actions/checkout@v2
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -24,4 +25,4 @@ jobs:
draft: false
prerelease: false
body: |
Release ${{ github.ref }}
Tagged release ${{ github.ref }}
2 changes: 1 addition & 1 deletion _publishToRepo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ packageVersion=false

while [ "$#" -gt 0 ]; do
case $1 in
--package-version) packageVersion="$2" ;;
--release-version) packageVersion="$2" ;;
esac
shift
done
Expand Down

0 comments on commit 475e873

Please sign in to comment.