From e9bf964979aa71bad7399dcc468518a59f0c9afe Mon Sep 17 00:00:00 2001 From: Myles Horton Date: Wed, 19 Oct 2022 06:28:48 -0400 Subject: [PATCH] add tagging to preserve order --- .github/workflows/compile_genconfig.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile_genconfig.yml b/.github/workflows/compile_genconfig.yml index 87217dff9..69f8d52e0 100644 --- a/.github/workflows/compile_genconfig.yml +++ b/.github/workflows/compile_genconfig.yml @@ -7,7 +7,7 @@ name: Compile genconfig binary on: push: branches: [ main ] - + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -38,13 +38,19 @@ jobs: args: -fq - id: commit uses: pr-mpt/actions-commit-hash@v1 + - name: Bump version and push tag + id: bump_tag + uses: anothrNick/github-tag-action@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ steps.commit.outputs.short }} + tag_name: ${{ steps.bump_tag.outputs.tag }} release_name: genconfig release ${{ steps.commit.outputs.short }} draft: false prerelease: false