mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-04-30 11:29:43 -05:00
38 lines
918 B
YAML
38 lines
918 B
YAML
name: Bump App Version
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
type:
|
|
description: 'Bump type'
|
|
required: true
|
|
default: 'patch'
|
|
type: choice
|
|
options:
|
|
- patch
|
|
- minor
|
|
- major
|
|
releaseNote:
|
|
description: 'Release Note'
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
bump:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: 🏗 Bump App Version
|
|
run: ls && sh ./scripts/versionBump.sh $TYPE "$RELEASE_NOTES"
|
|
env:
|
|
TYPE: ${{ inputs.type }}
|
|
RELEASE_NOTES: ${{ inputs.releaseNote }}
|
|
|
|
|
|
- name: Version Bump
|
|
run: |
|
|
git config --global user.name 'Yogesh Choudhary Paliyal'
|
|
git config --global user.email 'yogeshpaliyal@users.noreply.github.com'
|
|
git commit -am "Automated version bump"
|
|
git push
|