Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions .github/workflows/bumpversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,34 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
ref: develop
token: ${{ secrets.TOKEN }}
# ref: develop
- name: fetch all branches
run: |


- name: pull latest develop branch changes
run: git pull origin develop

# push changes to develop
- name: set global attributes
run: |
git config --global user.email "bmsteve96@gmail.com"
git config --global user.name "Benedict Steven"
git remote set-url origin https://x-access-token:${{ secrets.TOKEN }}@github.com/${{ github.repository }}
- name: Build
run: npm install
run: |
git fetch --all
git checkout develop
npm install


- name: Build
run: npm run build
run: |
git fetch --all
git checkout develop
npm run build

- name: bump version actions
uses: bmsteven/bump-version@1.0.3
Expand Down
1 change: 0 additions & 1 deletion src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ const run = async () => {
} catch (error) {
console.log("error", error?.message);
}

// update PR
try {
const options = {
Expand Down