Skip to content

Commit

Permalink
#25 attempt to fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
kasramp committed Apr 30, 2023
1 parent 946e12d commit 4694486
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_and_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,15 @@ jobs:
pwd ${GITHUB_WORKSPACE}
chmod +x "${GITHUB_WORKSPACE}/util/release.sh"
./${GIHUB_WORKSPACE}/util/release.sh
- name: Get latest tagged version
id: tagged_version
uses: actions/checkout@v3
run: |
echo "::set-output name=TAGGED_VERSION::$(git for-each-ref --sort=-creatordate --format='%(refname:short)' refs/tags --count 10 | grep -oP '^eris-(\d+).*' | head -1)"
- name: Perform release
uses: softprops/action-gh-release@v1
if: ${{ github.ref == 'refs/heads/master' }}
with:
tag_name: ${{ steps.tagged_version.outputs.TAGGED_VERSION }}
files: |
target/*.jar

0 comments on commit 4694486

Please sign in to comment.