Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
add autotag step to release
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmostafa committed Feb 1, 2023
1 parent aa5ba05 commit 5e412b2
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ jobs:
with:
name: ${{ matrix.os }}
path: ${{ matrix.bin }}
tag:
name: go-tag
runs-on: ubuntu-latest
steps:
- name: install autotag binary
run: |
curl -sL https://git.io/autotag-install | sudo sh -s -- -b /usr/bin
- name: increment version
run: |
autotag
release:
name: go-release
runs-on: ubuntu-latest
Expand All @@ -86,6 +76,11 @@ jobs:
uses: actions/download-artifact@v3
with:
path: bin
- name: Autotag
uses: butlerlogic/action-autotag@stable
with:
tag_prefix: "v"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Create Release
uses: actions/github-script@v6
env:
Expand Down

0 comments on commit 5e412b2

Please sign in to comment.