Skip to content

Tag

Tag #8

Workflow file for this run

name: Tag
on:
workflow_call: {}
workflow_dispatch: {}
jobs:
tag-job:
runs-on: ubuntu-latest
steps:
- name: Checkout current code
uses: actions/checkout@v3
with:
token: ${{ secrets.BROADBOT_TOKEN }} # this allows the push to succeed later
- name: Bump the tag to a new version
# https://github.com/DataBiosphere/github-actions/tree/master/actions/bumper
uses: databiosphere/github-actions/actions/bumper@sh-allow-multiple-version-files
id: tag
env:
GITHUB_TOKEN: ${{ secrets.BROADBOT_TOKEN }}
HOTFIX_BRANCHES: hotfix.*
DEFAULT_BUMP: minor
RELEASE_BRANCHES: main
VERSION_FILE_PATH: settings.gradle,cli/src/main/java/bio/terra/pfb/PfbVersion.java
VERSION_LINE_MATCH: "^\\s*gradle.ext.releaseVersion\\s*=\\s*'.*',^\\s*public\\s+static\\s+final\\s+String\\s+VERSION\\s*=\\s*'.*';'"