Skip to content

Commit de1bf04

Browse files
committed
netlify: redirect traffic to the latest stable release
1 parent f21270c commit de1bf04

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/ISSUE_TEMPLATE/new-release.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Please do not remove items from the checklist
2929
- [ ] An OWNER runs
3030
`git tag -s -m "NFD release $VERSION" $VERSION`
3131
- [ ] An OWNER runs
32-
`git tag -s -m "NFD API release $VERSION" api/nfd/$VERSION`
32+
`git tag -s -m "NFD API release $VERSION" api/nfd/$VERSION`
3333
- [ ] An OWNER pushes the tag with
3434
`git push $VERSION api/nfd/$VERSION`
3535
- Triggers prow to build and publish a staging container image
@@ -43,9 +43,10 @@ Please do not remove items from the checklist
4343
- [ ] Add a link to the tagged release in this issue.
4444
- [ ] Send an announcement email to `[email protected]` with the subject `[ANNOUNCE] node-feature-discovery $VERSION is released`
4545
- [ ] Add a link to the release announcement in this issue
46-
- [ ] Update README in master branch
47-
- [ ] Update references e.g. by running `hack/prepare-release.sh $VERSION` but **only** committing README.md, and,
48-
submit a PR
46+
- [ ] Update README and netlify.toml in master branch
47+
- [ ] Submit a PR
48+
- Update references e.g. by running `hack/prepare-release.sh $VERSION` but **only** committing README.md
49+
- Update the `[[redirects]]` in `netlify.toml` to point to the new release branch
4950
- [ ] Wait for the PR to be merged
5051
- [ ] Create an unannotated *devel* tag in the master branch, on the first commit that gets merged after the release branch has been created (presumably the README update commit above), and, push the tag:
5152
`DEVEL=v0.$(($MAJ+1)).0-devel; git tag $DEVEL master && git push $DEVEL`

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@
55

66
[build.environment]
77
PAGES_DISABLE_NETWORK = "1"
8+
9+
[[redirects]]
10+
from = "/"
11+
to = "https://release-0-17--kubernetes-sigs-nfd.netlify.app"
12+
status = 301
13+
force = true

0 commit comments

Comments
 (0)