generated from forcedotcom/library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.21 KB
/
manualRelease.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: manual release
on:
workflow_dispatch:
jobs:
release:
runs-on: static-ip-ubuntu-runners
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.IDEE_GH_TOKEN }}
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@ed98b658f3015c5afb96a13caf9bb81f69df49e6
# overriding some of the basic behaviors to just get the changelog
with:
git-user-name: Release Bot
git-user-email: ${{ secrets.IDEE_GH_EMAIL }}
github-token: ${{ secrets.IDEE_GH_TOKEN }}
output-file: false
# always do the release, even if there are no semantic commits
skip-on-empty: false
tag-prefix: ''
- uses: notiz-dev/github-action-json-property@7a701887f4b568b23eb7b78bb0fc49aaeb1b68d3
id: packageVersion
with:
path: 'package.json'
prop_path: 'version'
- name: Create Github Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.IDEE_GH_TOKEN }}
with:
tag_name: ${{ steps.packageVersion.outputs.prop }}
release_name: ${{ steps.packageVersion.outputs.prop }}