-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
30 lines (29 loc) · 876 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "Bump tag version"
description: "Bumpping tag version"
author: keepbang
runs:
using: "composite"
steps:
- id: tag_version
run: |
wget -O ./semver https://raw.githubusercontent.com/fsaintjacques/semver-tool/master/src/semver
chmod +x ./semver
chmod +x ${{ github.action_path }}/bump.sh
${{ github.action_path }}/bump.sh
shell: bash
outputs:
new_tag:
description: 'Generated tag'
value: ${{ steps.tag_version.outputs.new_tag }}
tag:
description: 'The latest tag after running this action'
value: ${{ steps.tag_version.outputs.tag }}
part:
description: 'The part of version which was bumped'
value: ${{ steps.tag_version.outputs.part }}
old_tag:
description: 'The old of version'
value: ${{ steps.tag_version.outputs.old_tag }}
branding:
icon: 'git-merge'
color: 'purple'