File tree Expand file tree Collapse file tree 3 files changed +11
-23
lines changed Expand file tree Collapse file tree 3 files changed +11
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
### 📝 Pre-release checklist
4
4
- [ ] Review automated changes
5
- - [ ] Review rhub and win_devel checks (see maintainer email for results)
6
- - [ ] Review reverse dependency checks
5
+ - [ ] Review reverse dependency checks (see ` release ` workflow artifacts)
7
6
- [ ] Review check and test results
8
7
- [ ] Verify ` DESCRIPTION ` and ` NEWS.md ` are accurate
9
8
- [ ] Update ` cran-comments.md ` if necessary
15
14
### 📝 Post-release checklist
16
15
- [ ] ` git tag v{{ .version }} `
17
16
- [ ] ` git push --tags `
18
- - [ ] Update ` DESCRIPTION ` and ` NEWS.md ` versions to ` {{ .version }}.9000 `
17
+ - [ ] Update ` DESCRIPTION ` versions to ` {{ .version }}.9000 `
18
+ - [ ] Add ` [unreleased] ` title at top of ` NEWS.md `
19
19
- [ ] Add release date of latest version to ` NEWS.md `
20
20
- Example ` Released Monday, February 31, 2020. `
21
21
- [ ] Commit changes with message ` Prepare for next release `
22
- - [ ] Run ` usethis::use_github_release() ` from this branch
23
22
24
23
✅ Merge this pull request when all post-release tasks are complete.
24
+
25
+ ### 📝 Post-merge Steps
26
+ - Create [ release] ( https://github.com/pdil/usmapdata/releases ) linked to ` v{{ .version }} ` tag with release notes from ` NEWS.md ` .
Original file line number Diff line number Diff line change 11
11
type : string
12
12
# When calling this workflow from another repo, ensure the following files are
13
13
# located in the local .github/workflow-resources directory:
14
- # • release-checklist.R
15
14
# • release-pr-body.md
16
15
# • release-version-check.sh
17
16
workflow_call :
22
21
type : string
23
22
24
23
jobs :
24
+ revdep-check :
25
+ uses : r-devel/recheck/.github/workflows/recheck.yml@v1
26
+
25
27
release :
26
28
runs-on : ubuntu-latest
27
29
@@ -43,20 +45,12 @@ jobs:
43
45
extra-packages : |
44
46
any::devtools
45
47
any::rhub
46
- github::r-lib/revdepcheck
47
48
48
- - name : Run release checks
49
+ - name : Update DESCRIPTION version
49
50
env :
50
- EMAIL : ${{ secrets.RHUB_EMAIL }}
51
- TOKEN : ${{ secrets.RHUB_TOKEN }}
52
51
VERSION : ${{ inputs.version }}
53
52
run : |
54
- source(".github/workflow-resources/release-checklist.R")
55
- release_checklist(
56
- Sys.getenv("EMAIL"),
57
- Sys.getenv("TOKEN"),
58
- Sys.getenv("VERSION")
59
- )
53
+ desc::desc_set_version(Sys.getenv("VERSION"))
60
54
shell : Rscript {0}
61
55
62
56
- name : Update NEWS.md version
You can’t perform that action at this time.
0 commit comments