-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #232 from nitrictech/develop
release
- Loading branch information
Showing
85 changed files
with
2,413 additions
and
1,108 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,38 @@ | ||
name: Bump Package Versions, Tag and Draft Release | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- 'develop' | ||
|
||
jobs: | ||
version: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Bump version and push tag | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
with: | ||
dry_run: true | ||
release_branches: main,develop | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Add SHORT_SHA to outputs | ||
id: vars | ||
run: echo "::set-output name=sha_short::$(echo ${GITHUB_SHA} | cut -c1-8)" | ||
|
||
- name: Create a GitHub release | ||
uses: actions/create-release@v1 | ||
env: | ||
# Use nitric bot token to trigger release actions | ||
GITHUB_TOKEN: ${{ secrets.NITRIC_BOT_TOKEN }} | ||
with: | ||
prerelease: true | ||
tag_name: ${{ steps.tag_version.outputs.new_tag }}-rc.${{ steps.vars.outputs.sha_short }} | ||
release_name: Release ${{ steps.tag_version.outputs.new_tag }}-rc.${{ steps.vars.outputs.sha_short }} | ||
body: ${{ steps.tag_version.outputs.changelog }} | ||
|
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,32 @@ | ||
name: Bump Package Versions, Tag and Draft Release | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
version: | ||
if: github.event.pull_request.merged == true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Bump version and push tag | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
with: | ||
release_branches: main | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create a GitHub release | ||
uses: actions/create-release@v1 | ||
env: | ||
# use nitric bot token to trigger release actions | ||
GITHUB_TOKEN: ${{ secrets.NITRIC_BOT_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.tag_version.outputs.new_tag }} | ||
release_name: Release ${{ steps.tag_version.outputs.new_tag }} | ||
body: ${{ steps.tag_version.outputs.changelog }} | ||
|
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 |
---|---|---|
|
@@ -106,3 +106,6 @@ lib/ | |
!**/src/**/* | ||
|
||
oclif.manifest.json | ||
|
||
# Autogenerated change log | ||
CHANGELOG.md |
Oops, something went wrong.