Skip to content

josh ui updates 007-4 constituency page (#99) #147

josh ui updates 007-4 constituency page (#99)

josh ui updates 007-4 constituency page (#99) #147

Workflow file for this run

name: Bump Version
on:
push:
branches:
- main
jobs:
bump-version:
name: Bump Version on main
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout latest code from main branch
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
- name: Print old package.json
run: cat ./package.json
- name: Bump package.json verson
id: version-bump
uses: "phips28/gh-action-bump-version@master"
with:
tag-prefix: "v"
env:
GITHUB_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
- name: Print new package.json
run: cat ./package.json
- name: Print New Verion
env:
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
run: |
echo "New version is: $NEW_TAG"