Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to fix nightly tag workflow
Browse files Browse the repository at this point in the history
zaneselvans committed Dec 18, 2023
1 parent ec0e4c5 commit 53bfd5f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -93,12 +93,17 @@ jobs:
which sqlite3
sqlite3 --version
- name: Test pushing a tag
- name: Set the nightly tag
run: |
echo "NIGHTLY_TAG=nightly-$(date +%Y-%m-%d)" >> $GITHUB_ENV
- name: Test pushing a tag
run: |
echo "1 NIGHTLY_TAG: $NIGHTLY_TAG"
echo "2 NIGHTLY_TAG: ${{ env.NIGHTLY_TAG}}"
echo "3 NIGHTLY_TAG: " ${{ env.NIGHTLY_TAG}}
git config user.email "pudl@catalyst.coop"
git config user.name "PudlBot"
echo "nightly tag is: $NIGHTLY_TAG"
git tag -a -m "$NIGHTLY_TAG" $NIGHTLY_TAG
git push origin $NIGHTLY_TAG

0 comments on commit 53bfd5f

Please sign in to comment.