-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (35 loc) · 978 Bytes
/
bump.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
31
32
33
34
35
36
name: "Bump Version"
# include major/minor/patch in commit message
# Pull after pushing to develop
on:
push:
branches:
- develop
jobs:
bump-version:
name: "Bump Version on release branch"
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: "Checkout source code"
uses: "actions/checkout@v4"
with:
ref: ${{ github.ref }}
- name: Generate changelog
uses: charmixer/auto-changelog-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: "cat package.json"
run: cat ./package.json
- name: "Setup Node.js"
uses: "actions/[email protected]"
with:
node-version: 12
- name: "Automated Version Bump"
uses: "dermatologist/gh-action-bump-version@beapen-1"
with:
tag-prefix: ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "cat package.json"
run: cat ./package.json