generated from salesforcecli/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore([no ci]): Synced file(s) with salesforcecli/leif (#390)
* chore([no ci]): Created local '.github/workflows/manualRelease.yml' from remote 'templates/github/manualRelease.yml' * chore([no ci]): Synced local '.gitignore' with remote 'templates/git/.gitignore'
- Loading branch information
SF-CLI-BOT
authored
Sep 22, 2022
1 parent
b44f903
commit 4829719
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: manual release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.SF_CLI_BOT_GITHUB_TOKEN }} | ||
- name: Conventional Changelog Action | ||
id: changelog | ||
uses: TriPSs/conventional-changelog-action@d360fad3a42feca6462f72c97c165d60a02d4bf2 | ||
# overriding some of the basic behaviors to just get the changelog | ||
with: | ||
git-user-name: SF-CLI-BOT | ||
git-user-email: [email protected] | ||
github-token: ${{ secrets.SF_CLI_BOT_GITHUB_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@2192e246737701f108a4571462b76c75e7376216 | ||
id: packageVersion | ||
with: | ||
path: 'package.json' | ||
prop_path: 'version' | ||
- name: Create Github Release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SF_CLI_BOT_GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.packageVersion.outputs.prop }} | ||
release_name: ${{ steps.packageVersion.outputs.prop }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,5 @@ node_modules | |
# os specific files | ||
.DS_Store | ||
.idea | ||
|
||
oclif.manifest.json |