Skip to content

Commit

Permalink
add tagging to preserve order
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Oct 19, 2022
1 parent 15a208d commit e9bf964
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/compile_genconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e9bf964

Please sign in to comment.