Skip to content

Commit

Permalink
finish dynamic changelog for all github release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Aug 19, 2021
1 parent 24219a7 commit f7f0ffe
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 5 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build_nudge_prerelease.yml
Expand Up @@ -42,6 +42,12 @@ jobs:
run: |
echo "NUDGE_VERSION=$(/bin/cat ./build_info.txt)" >> $GITHUB_ENV
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@e5306b306fa2e34f05258789e0e5c526c1bd4352 # v1.0.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

- name: Create Pre-Release
id: create_pre_release
uses: actions/create-release@v1
Expand All @@ -53,13 +59,16 @@ jobs:
body: |
# Notes
This is a pre-release version of Nudge created by GitHub Actions.
Nudge.app has been signed application as well as the package.
Nudge.app has been signed and notarized. The package has been signed, notarized and stapled.
By default Nudge looks for a `com.github.macadmins.Nudge.json` file located in `/Library/Preferences`. If you would like to use an alternative path, please read the [README](https://github.com/macadmins/nudge/blob/main/README.md) or the [WIKI](https://github.com/macadmins/nudge/wiki)
## About the LaunchAgent
This is a basic launch agent that opens Nudge twice an hour, every 30 minutes.
If you would like to reduce the amount of times Nudge launches per day, it is recommended to create your own LaunchAgent.
# Changes
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_nudge_prerelease_manual.yml
Expand Up @@ -53,7 +53,7 @@ jobs:
body: |
# Notes
This is a pre-release version of Nudge created by GitHub Actions.
Nudge.app has been signed application as well as the package.
Nudge.app has been signed and notarized. The package has been signed, notarized and stapled.
By default Nudge looks for a `com.github.macadmins.Nudge.json` file located in `/Library/Preferences`. If you would like to use an alternative path, please read the [README](https://github.com/macadmins/nudge/blob/main/README.md) or the [WIKI](https://github.com/macadmins/nudge/wiki)
Expand All @@ -63,7 +63,7 @@ jobs:
# Changes
${{ steps.changelog.outputs.changelog }}
draft: true
draft: false
prerelease: true

- name: Upload Signed Package Pre-Release Asset
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/build_nudge_release.yml
Expand Up @@ -43,6 +43,12 @@ jobs:
run: |
echo "NUDGE_VERSION=$(/bin/cat ./build_info.txt)" >> $GITHUB_ENV
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@e5306b306fa2e34f05258789e0e5c526c1bd4352 # v1.0.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -54,13 +60,16 @@ jobs:
body: |
# Notes
This is a version of Nudge created by GitHub Actions.
Nudge.app has been signed application as well as the package.
Nudge.app has been signed and notarized. The package has been signed, notarized and stapled.
By default Nudge looks for a `com.github.macadmins.Nudge.json` file located in `/Library/Preferences`. If you would like to use an alternative path, please read the [README](https://github.com/macadmins/nudge/blob/main/README.md) or the [WIKI](https://github.com/macadmins/nudge/wiki)
## About the LaunchAgent
This is a basic launch agent that opens Nudge twice an hour, every 30 minutes.
If you would like to reduce the amount of times Nudge launches per day, it is recommended to create your own LaunchAgent.
# Changes
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/build_nudge_release_manual.yml
Expand Up @@ -36,6 +36,12 @@ jobs:
run: |
echo "NUDGE_VERSION=$(/bin/cat ./build_info.txt)" >> $GITHUB_ENV
- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@e5306b306fa2e34f05258789e0e5c526c1bd4352 # v1.0.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -47,13 +53,16 @@ jobs:
body: |
# Notes
This is a version of Nudge created by GitHub Actions.
Nudge.app has been signed application as well as the package.
Nudge.app has been signed and notarized. The package has been signed, notarized and stapled.
By default Nudge looks for a `com.github.macadmins.Nudge.json` file located in `/Library/Preferences`. If you would like to use an alternative path, please read the [README](https://github.com/macadmins/nudge/blob/main/README.md) or the [WIKI](https://github.com/macadmins/nudge/wiki)
## About the LaunchAgent
This is a basic launch agent that opens Nudge twice an hour, every 30 minutes.
If you would like to reduce the amount of times Nudge launches per day, it is recommended to create your own LaunchAgent.
# Changes
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false

Expand Down

0 comments on commit f7f0ffe

Please sign in to comment.