-
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.
Rename rapids-is-stable-build to rapids-is-release-build
Signed-off-by: Jordan Jacobelli <[email protected]>
- Loading branch information
1 parent
7f6f45b
commit 5290fe5
Showing
2 changed files
with
17 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# A utility script that examines environment variables provided by | ||
# GitHub Actions to determine whether the current build is a "release" build. | ||
# A "release" build occurs when the GITHUB_REF environment variable matches | ||
# the pattern "refs/tags/vYY.MM.PP". | ||
# Example: | ||
# if rapids-is-release-build; then echo "hi"; fi | ||
set -e | ||
|
||
echo_prefix=" [rapids-is-release-build]" | ||
|
||
if [[ "${GITHUB_REF}" =~ ^refs/tags/v[0-9]{2}.[0-9]{2}.[0-9]{2}$ ]]; then | ||
rapids-echo-stderr "${echo_prefix} is release build" | ||
exit 0 | ||
fi | ||
rapids-echo-stderr "${echo_prefix} is not release build" | ||
exit 1 |
This file was deleted.
Oops, something went wrong.