From 9b59d11485e096e344522921c4730bb26f1ddf25 Mon Sep 17 00:00:00 2001 From: Josh McArthur Date: Tue, 5 Dec 2023 15:00:19 +1300 Subject: [PATCH] Prepare and push a commit after each scheduled and unscheduled release --- .github/workflows/signbank-extract.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/signbank-extract.yml b/.github/workflows/signbank-extract.yml index e1a75ca..172f286 100644 --- a/.github/workflows/signbank-extract.yml +++ b/.github/workflows/signbank-extract.yml @@ -62,3 +62,14 @@ jobs: asset_path: ./nzsl.dat asset_name: nzsl.dat asset_content_type: text/plain + - name: Create LATEST_RELEASE_DATE file + run: echo "${{steps.date.outputs.date}}" > LATEST_RELEASE_DATE + - name: Configure git + run: | + git config --global user.name 'GitHub Actions' + git config --global user.email 'actions@github.com' + - name: Commit and push LATEST_RELEASE_DATE file + run: | + git add LATEST_RELEASE_DATE + git commit -m "Release ${{steps.date.outputs.date}}" + git push \ No newline at end of file