Skip to content

Commit 8e3c2f3

Browse files
committed
cicd: few fixes in release workflow
1 parent 4b018a4 commit 8e3c2f3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,20 @@ jobs:
4646
echo "**Full Changelog**: https://github.com/miyamo2/kubectl-create-transient_configmap /compare/${PRETAG}...${CURRENTTAG}" >> /tmp/diff-changelog.md
4747
fi
4848
49+
- name: Push Tag
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
run: |
53+
git config --global user.name "github-actions[bot]"
54+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
55+
git tag ${{ steps.versioning.outputs.version }}
56+
git push origin ${{ steps.versioning.outputs.version }}
57+
4958
- uses: goreleaser/goreleaser-action@v6
5059
with:
5160
workdir: .github/
5261
version: latest
53-
args: release --rm-dist --release-notes=/tmp/diff-changelog.md
62+
args: release --clean --release-notes=/tmp/diff-changelog.md
5463
env:
5564
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5665
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

0 commit comments

Comments
 (0)