We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06fd3a0 + e01ebef commit ddf763bCopy full SHA for ddf763b
.github/workflows/publish.yml
@@ -33,11 +33,12 @@ jobs:
33
run: |
34
sed -i 's/version:.*$/version: ~/' docs/antora.yml
35
if ! git diff --exit-code docs/antora.yml; then
36
+ branch=switch-docs-version-$(git tag --points-at @)
37
git config user.name "${GITHUB_ACTOR}"
38
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- git checkout -b switch-docs-version
39
+ git checkout -b "$branch"
40
git add docs/antora.yml
41
git commit -m "Switch docs version back"
- git push -u origin switch-docs-version
42
- gh pr create --fill --head switch-docs-version
+ git push -u origin "$branch"
43
+ gh pr create --fill --head "$branch"
44
fi
0 commit comments