We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af1a003 commit 1f6f1fcCopy full SHA for 1f6f1fc
1 file changed
.github/workflows/prepare-release.yml
@@ -130,18 +130,11 @@ jobs:
130
find docs -name 'user_manual.md' | xargs sed -i "s/This user manual documents release \`.*\` of/This user manual documents release \`$RELEASE_VERSION\` of/"
131
132
if git diff --quiet; then
133
- echo "update-release-pr=true" >> "$GITHUB_ENV"
134
- else
135
- echo "update-release-pr=false" >> "$GITHUB_ENV"
+ git add -u .
+ git commit -m "Update version"
+ git push
136
fi
137
138
- - name: Update feature branch for PR
139
- if: env.update-release-pr == 'true'
140
- run: |
141
- find docs -name 'user_manual.md' -exec git add {} \;
142
- git commit -m "Update user manual for release $RELEASE_VERSION."
143
- git push
144
-
145
- name: Create release PR
146
env:
147
GITHUB_TOKEN: ${{ secrets.ACTION_DISPATCH_TOKEN }}
0 commit comments