Skip to content

Merge pull request #13 from OasisDEX/marcinciarka/workflow-work-1 #2

Merge pull request #13 from OasisDEX/marcinciarka/workflow-work-1

Merge pull request #13 from OasisDEX/marcinciarka/workflow-work-1 #2

name: Bump package version and tag it
on:
push:
branches:
- main
jobs:
bump-and-tag:
name: Bump and Tag
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Bump Version
id: bump_version
uses: phips28/gh-action-bump-version@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
version-type: "minor"
tag-prefix: "v"
- name: "Declare a new version"
env:
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
run: echo "new tag $NEW_TAG"