landscape/.github/workflows/bump.yml
2023-01-05 14:46:40 -06:00

23 lines
635 B
YAML

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]'