File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest-l
12
12
if : ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
13
13
permissions :
14
- contents : write # to be able to publish a GitHub release
15
- issues : write # to be able to comment on released issues
16
- pull-requests : write # to be able to comment on released pull requests
14
+ contents : write
15
+ issues : write
16
+ pull-requests : write
17
17
18
18
steps :
19
19
- name : Checkout
60
60
env :
61
61
GITHUB_TOKEN : ${{ secrets.BLIBLA_SEMANTIC_RELEASE }}
62
62
63
+ - name : Update version numbers in README
64
+ if : steps.semanticrelease.outputs.new-release-published == 'true'
65
+ run : |
66
+ VERSION="${{ steps.semanticrelease.outputs.release-version }}"
67
+
68
+ # Replace version numbers in Docker image tags
69
+ sed -i "s/timpietruskyblibla\/runpod-worker-comfy:[0-9]\+\.[0-9]\+\.[0-9]\+/timpietruskyblibla\/runpod-worker-comfy:$VERSION/g" README.md
70
+
63
71
- name : Set environment variables
64
72
if : steps.semanticrelease.outputs.new-release-published == 'true'
65
73
run : |
You can’t perform that action at this time.
0 commit comments