mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-09 22:14:10 +01:00
Check out branches
This commit is contained in:
3
.github/workflows/release-publish.yml
vendored
3
.github/workflows/release-publish.yml
vendored
@@ -29,10 +29,11 @@ jobs:
|
||||
- name: Prepare release
|
||||
run: |
|
||||
echo "Preparing release ${GITHUB_REF:10}"
|
||||
git checkout -t origin/release/${GITHUB_REF:10}
|
||||
npm version --no-git-tag-version --allow-same-version ${GITHUB_REF:10}
|
||||
git add package.json
|
||||
git commit -m "Bump version ${GITHUB_REF:10}"
|
||||
git checkout master
|
||||
git checkout -t origin/master
|
||||
git merge -m "Release ${GITHUB_REF:10}" --no-ff release/${GITHUB_REF:10}
|
||||
git push --delete release/${GITHUB_REF:10}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user