mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-26 10:15:16 +03:00
23 lines
635 B
YAML
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]' |