mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-12 13:48:07 +00:00
CI - split git commands
This commit is contained in:
parent
130901534a
commit
386c8766a0
10
.github/workflows/version-bump-publish.yml
vendored
10
.github/workflows/version-bump-publish.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Manage version
|
name: Release
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
@ -21,10 +21,10 @@ jobs:
|
|||||||
npm install
|
npm install
|
||||||
npm run lint
|
npm run lint
|
||||||
npm run build
|
npm run build
|
||||||
- name: Setup version and git tag
|
- name: Setup version
|
||||||
if: ${{ github.event.inputs.tag != '' }}
|
if: ${{ github.event.inputs.tag != '' }}
|
||||||
run: |
|
run: |
|
||||||
npm version ${{ github.event.inputs.tag }}
|
npm version ${{ github.event.inputs.tag }}
|
||||||
git tag -a v${{ github.event.inputs.tag }} -m "v${{ github.event.inputs.tag }}"
|
git push
|
||||||
- name: Push changes
|
- name: Add tag
|
||||||
run: git push
|
run: git tag -a v${{ github.event.inputs.tag }} -m "v${{ github.event.inputs.tag }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user