Version Bump #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Version Bump | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
type: string | |
required: true | |
description: Enter the version | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: "Bumps versions and pushes to master" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.REPO_TOKEN }} | |
- name: Bump | |
run: sed -i "s/version+\[.*]/version+[${{ github.event.inputs.tag }}]/" desk/desk.docket-0 | |
- name: Commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: '-A' | |
message: 'version bump: ${{ github.event.inputs.tag }} [skip actions]' |