Skip to content

Commit e653d8e

Browse files
committed
deploy-2-start.yml: Added further comments
1 parent 136cb49 commit e653d8e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy-2-start.yml

+5
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ jobs:
142142
| .captures[0].string' \
143143
${{ env.SPACK_ENV_PATH}}/spack.lock
144144
)
145+
146+
# Example:
147+
# pkg_repo_url = https://github.com/ACCESS-NRI/MOM5.git, which is then stripped of the '.git'.
148+
# version = 2024.08.11, giving
149+
# pkg_release_url = https://github.com/ACCESS-NRI/MOM5/releases/tag/2024.08.11
145150
pkg_release_url="${pkg_repo_url%.*}/releases/tag/${version}"
146151
147152
echo "$pkg pkg_repo_url is $pkg_repo_url, pkg_release_url is $pkg_release_url, version is $version"

0 commit comments

Comments
 (0)