-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix automated release workflow (#98)
* Fixed dependencies in `setup-r-dependencies` step. * Added `rhub` email validation (using repository secrets). * Fixed PR body by using `render-template` action. * See peter-evans/create-pull-request#2824 (comment) * Improved checklists and appearance in `release-pr-body.md`. * Added [usmap-bot](https://github.com/usmap-bot) as the PR and commit author. * Added commit signing.
- Loading branch information
Showing
6 changed files
with
53 additions
and
26 deletions.
There are no files selected for viewing
6 changes: 4 additions & 2 deletions
6
.github/workflows/release-checklist.R → ...ub/workflow-resources/release-checklist.R
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
19 changes: 10 additions & 9 deletions
19
.github/workflows/release-pr-body.md → ...hub/workflow-resources/release-pr-body.md
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 |
---|---|---|
@@ -1,23 +1,24 @@ | ||
`usmap v${{ inputs.version }}` release candidate | ||
🚀 `usmap v{{ .version }}` release candidate | ||
|
||
#### Pre-release checklist: | ||
### 📝 Pre-release checklist | ||
- [ ] Review automated changes | ||
- [ ] Review rhub and win_devel checks (see maintainer email for results) | ||
- [ ] Review reverse dependency checks | ||
- [ ] Review check and test results | ||
- [ ] Verify `DESCRIPTION` and `NEWS.md` are accurate | ||
- [ ] Update `cran-comments.md` if necessary | ||
- [ ] Update `NEWS` if necessary | ||
- [ ] Run `devtools::release()` from this branch | ||
- [ ] Perform necessary CRAN verification release steps (see maintainer email) | ||
Wait for CRAN to publish package. If issues are reported, make changes in this PR and re-run `devtools::release()`. | ||
|
||
#### Post-release checklist: | ||
- [ ] `git tag v{{ $inputs.version }}` | ||
⏳ Wait for CRAN to publish package. If changes are requested, commit fixes to this pull request and re-run `devtools::release()`. | ||
|
||
### 📝 Post-release checklist | ||
- [ ] `git tag v{{ .version }}` | ||
- [ ] `git push --tags` | ||
- [ ] Update `DESCRIPTION` and `NEWS.md` versions to `{{ $inputs.version }}.9000` | ||
- [ ] Update `DESCRIPTION` and `NEWS.md` versions to `{{ .version }}.9000` | ||
- [ ] Add release date of latest version to `NEWS.md` | ||
- Example `Released Monday, February 31, 2020.` | ||
- [ ] Commit changes with message `Prepare for next release` | ||
- [ ] `usethis::use_github_release()` | ||
- Merge this PR | ||
- [ ] Run `usethis::use_github_release()` from this branch | ||
|
||
✅ Merge this pull request when all post-release tasks are complete. |
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
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