From 99b9215d651fb941b2645f3ae6e7709ade919491 Mon Sep 17 00:00:00 2001 From: jamesread Date: Sun, 14 Jan 2024 23:21:37 +0000 Subject: [PATCH] release dates --- .github/workflows/makefile.yml | 42 +++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index efe6033..dde420b 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -11,22 +11,26 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: 16 - - - run: npm update - - - name: make - run: make - - - uses: "marvinpinto/action-automatic-releases@latest" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "latest" - prerelease: true - title: "Development Build" - files: | - dist/* + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: 16 + + - run: npm update + + - name: make + run: make + + - name: get date + run: | + echo "DATE=$(date +'%Y.%m.%d')" >> "$GITHUB_ENV" + + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "${{ env.DATE }}-${{ github.sha }}" + prerelease: true + title: "${{ env.DATE }}-${{ github.sha }}" + files: | + webui.tgz