Skip to content

Commit

Permalink
release: test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bmsteven committed Jul 5, 2023
1 parent 53e031d commit e3b6712
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install jq
- uses: actions/checkout@v2
with:
ref: develop
- name: update develop branch
run: |
git checkout develop
git pull
# - uses: actions/checkout@v2
# with:
# ref: develop
# - name: update develop branch
# run: |
# git checkout develop
# git pull

- name: get version
run: |
Expand All @@ -56,9 +56,16 @@ jobs:
CHANGELOG_PATH: ./CHANGELOG.md
PACKAGE_JSON_PATH: ./package.json
# Commit and push the latest version
- name: update develop branch
- name: update main branch
run: |
git add ./package.json
git add ./CHANGELOG.md
git commit -m "Skip CI: update package version and changelog"
git push
- name: 🔀
uses: BaharaJr/create-pr@0.0.1
with:
GITHUB_TOKEN: ${{secrets.TOKEN}}
DESTINATION_BRANCH: develop
KEYWORD: Skip CI

0 comments on commit e3b6712

Please sign in to comment.