@@ -31,27 +31,13 @@ jobs:
3131 if : ${{ steps.changelog.outputs.skipped == 'false' }}
3232 with :
3333 python-version : " 3.13"
34- - uses : fregante/setup-git-token@614530a4b03f263cd0cc72b3217b7bac2806c342 # v1
35- if : ${{ steps.changelog.outputs.skipped == 'false' }}
36- with :
37- token : ${{ secrets.GH_RELEASE_PAT }}
38- - name : Update image tags in repository files
34+ - name : Prepare artifact
3935 if : ${{ steps.changelog.outputs.skipped == 'false' }}
4036 run : |
41- git checkout --detach
4237 python3 .github/bin/update_image_tags.py "${{ steps.changelog.outputs.tag }}" --verbose
43- - name : Create commit and push tag only
44- if : ${{ steps.changelog.outputs.skipped == 'false' }}
45- run : |
46- CHANGES=$(git status --porcelain)
47- if ! [ -n "$CHANGES" ]; then
48- echo "No changes to commit"
49- exit 1
50- fi
51- git add -A
52- git commit -m "chore(release): update image references to ${{ steps.changelog.outputs.tag }}"
53- git tag -a "${{ steps.changelog.outputs.tag }}" -m "Release ${{ steps.changelog.outputs.version }}"
54- git push -vv origin "${{ steps.changelog.outputs.tag }}"
38+ echo "${{ steps.changelog.outputs.tag }}" > VERSION
39+ tar --exclude='.github' --exclude='.cursor' --exclude='.git' --exclude='renovate.json' \
40+ -czvf /tmp/release-${{ steps.changelog.outputs.tag }}.tar.gz .
5541 - name : Create GitHub Release
5642 uses : ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1
5743 if : ${{ steps.changelog.outputs.skipped == 'false' }}
6046 name : Release ${{ steps.changelog.outputs.version }}
6147 body : ${{ steps.changelog.outputs.clean_changelog }}
6248 token : ${{ secrets.GH_RELEASE_PAT }}
49+ artifacts : " /tmp/release-${{ steps.changelog.outputs.tag }}.tar.gz"
0 commit comments