Skip to content

Commit

Permalink
Fix GHA tag/deploy workflow (#307)
Browse files Browse the repository at this point in the history
* Fix GHA tag/deploy workflow

This patch fixes a bug in the `tag_deploy` GHA workflow

* Update pr_tests.yml to remove spec/defines

There are no defines within this directory to be tested

---------

Co-authored-by: Mike Riddle <michael.riddle@onyxpoint.com>
  • Loading branch information
op-ct and michael-riddle authored Oct 3, 2023
1 parent ae5e03d commit 1e9b410
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tag_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ jobs:
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IS_PRERELASE: ${{ steps.tag-check.outputs.prerelease }}
run: |
echo "${RELEASE_MESSAGE}" > /tmp/.commit-msg.txt
args=(--file /tmp/.commit-msg.txt)
[[ ${{ steps.tag-check.outputs.prerelease }} == yes ]] && args+=(--prerelease)
[[ $IS_PRERELASE == yes ]] && args+=(--prerelease)
hub release create ${args[@]} "$TARGET_TAG"
build-and-attach-rpms:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ dist
/junit
/log
/doc
/Gemfile.lock

0 comments on commit 1e9b410

Please sign in to comment.