Skip to content

Commit

Permalink
Merge pull request #9 from salemove/fix-master-build
Browse files Browse the repository at this point in the history
  • Loading branch information
take-five authored Jul 2, 2024
2 parents 609f773 + 37da386 commit 1be9489
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/release-on-master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,24 @@ jobs:
- test
- build
steps:
- name: Generate release tag
id: gen_tag
run: |
SHORT_REV=$(git rev-parse --short "$GITHUB_SHA")
echo "::set-output name=release_tag::release-$SHORT_REV"
- name: Checkout code
uses: actions/checkout@v4

- name: Push new tag
run: |
git tag ${{ steps.gen_tag.outputs.release_tag }}
git push origin master ${{ steps.gen_tag.outputs.release_tag }}
- name: Generate release tag
id: gen_tag
run: |
SHORT_REV=$(git rev-parse --short "$GITHUB_SHA")
echo "::set-output name=release_tag::release-$SHORT_REV"
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.gen_tag.outputs.release_tag }}
generate_release_notes: true
files: |
releases/regexp_utility-*
- name: Push new tag
run: |
git tag ${{ steps.gen_tag.outputs.release_tag }}
git push origin master ${{ steps.gen_tag.outputs.release_tag }}
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.gen_tag.outputs.release_tag }}
generate_release_notes: true
files: |
releases/regexp_utility-*

0 comments on commit 1be9489

Please sign in to comment.