-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
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,3 +1,4 @@ | ||
# ignore clab state files | ||
clab-* | ||
pull.sh | ||
pull.sh | ||
notes.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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright 2022 Nokia | ||
# Licensed under the BSD 3-Clause License. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
# add gh release, this triggers email notifications to the subscribers | ||
# use `bash add-release.sh 23.10.5` | ||
|
||
#!/bin/bash | ||
set -e | ||
|
||
# REL is the short release version/tag, i.e. 23.10.5 | ||
REL=$1 | ||
|
||
# cleanup previos notes | ||
rm -f notes.md | ||
|
||
# if release is empty exit | ||
if [[ -z "$REL" ]]; then | ||
echo "release version is empty" | ||
exit 1 | ||
fi | ||
|
||
# template the release notes | ||
sed "s/{{version}}/$REL/g" notes.md.j2 > notes.md | ||
|
||
# add release | ||
gh release create ${REL} --notes-file notes.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SR Linux {{version}} release | ||
|
||
Pull with: | ||
|
||
```bash | ||
sudo -E docker pull ghcr.io/nokia/srlinux:{{version}} | ||
``` | ||
|
||
Learn more about SR Linux at [learn.srlinux.dev](https://learn.srlinux.dev) |