Skip to content

Commit 6107a3f

Browse files
Tag repo on goreleaser action
1 parent 9fcca3a commit 6107a3f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/go.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ jobs:
1616
fetch-depth: 0
1717
- name: Set up Go
1818
uses: actions/setup-go@v4
19+
- name: "Git Version"
20+
id: generate-version
21+
uses: codacy/[email protected]
22+
- name: "Tag version"
23+
run: |
24+
git tag ${{ steps.generate-version.outputs.version }}
25+
git push --tags "https://codacy:${{ secrets.GITHUB_TOKEN }}@github.com/codacy/codacy-cli-v2"
1926
- name: Run GoReleaser
2027
uses: goreleaser/goreleaser-action@v5
2128
with:

0 commit comments

Comments
 (0)