-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a notice to the release testing rotation file (#11142)
Reminds people adding new users to the rotation that they should also be added to DACH-NY/daml-language-ad-hoc to have a box in the cloud for Windows testing. Adds the possibility of adding comments at the beginning of the rotation file. changelog_begin changelog_end
- Loading branch information
1 parent
4295ecd
commit 265e362
Showing
5 changed files
with
17 additions
and
10 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
git branch -D $branch || true | ||
git checkout -b $branch | ||
git add . | ||
git -c user.name="Azure Pipelines DAML Build" \ | ||
git -c user.name="Azure Pipelines Daml Build" \ | ||
-c user.email="[email protected]" \ | ||
commit \ | ||
-m "$(printf "$title\n\n$body\n\nCHANGELOG_BEGIN\nCHANGELOG_END\n")" | ||
|
@@ -88,10 +88,14 @@ jobs: | |
# labels, PRs are issues as far as the GH API is concerned. | ||
} | ||
rotate() { | ||
local tmp | ||
tmp=$(mktemp) | ||
cp release/rotation $tmp | ||
(tail -n +2 $tmp; head -1 $tmp) > release/rotation | ||
# limitation: comments in the middle of the rotation will be hoisted to the top | ||
local comments rotation | ||
comments=$(mktemp) | ||
rotation=$(mktemp) | ||
awk '/^#/' release/rotation > $comments | ||
awk '/^[^#]/' release/rotation > $rotation | ||
cp $comments release/rotation | ||
(tail -n +2 $rotation; head -1 $rotation) >> release/rotation | ||
} | ||
release_message() { | ||
local handler=$1 | ||
|
@@ -119,8 +123,8 @@ jobs: | |
reset | ||
NEXT_SLACK=$(head -1 release/rotation | awk '{print $1}') | ||
NEXT_GH=$(head -1 release/rotation | awk '{print $2}') | ||
NEXT_SLACK=$(awk '/^[^#]/ {print $1}' release/rotation | head -n 1) | ||
NEXT_GH=$(awk '/^[^#]/ {print $2}' release/rotation | head -n 1) | ||
PREV="v$(head -1 LATEST | awk '{print $2}')" | ||
./release.sh new snapshot | ||
|
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