Skip to content

Commit

Permalink
Add logging to release gha
Browse files Browse the repository at this point in the history
  • Loading branch information
eduadiez committed Jul 26, 2024
1 parent 74a69cb commit 5e1b9d3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,20 @@ jobs:
- name: Compute release name and tag
id: release_info
run: |
if [[ $IS_NIGHTLY ]]; then
echo "IS_NIGHTLY=$IS_NIGHTLY"
echo "GITHUB_REF_NAME=$GITHUB_REF_NAME"
if [[ $IS_NIGHTLY == "true" ]]; then
echo "IS_NIGHTLY"
echo "tag_name=nightly-${GITHUB_SHA}"
echo "release_name=Nightly ($(date '+%Y-%m-%d'))"
echo "tag_name=nightly-${GITHUB_SHA}" >> $GITHUB_OUTPUT
echo "release_name=Nightly ($(date '+%Y-%m-%d'))" >> $GITHUB_OUTPUT
elif [[ "${GITHUB_REF_NAME}" == "develop" ]]; then
echo "IS_LATEST"
echo "tag_name=latest"
echo "release_name=Latest"
echo "tag_name=latest" >> $GITHUB_OUTPUT
echo "release_name=Latest" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit 5e1b9d3

Please sign in to comment.