diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 80ba9d2..d4d38a6 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -32,6 +32,10 @@ jobs: - name: Build app run: npm run build + - name: Get developer token + run: TOKEN=$(jq -r '.token' src/authtoken.json) + echo "TOKEN=$TOKEN" >> $GITHUB_ENV + - name: Upload artifact uses: actions/upload-artifact@v3 with: @@ -59,6 +63,21 @@ jobs: - name: Create Release uses: https://gitea.com/actions/gitea-release-action@v1 with: + body: | + ## Release Notes + + This is an automated release of version ${{ env.VERSION }} + + ### Changes + - Built from latest main branch + - Includes: + ${{ github.event.head_commit.message }} + + ### Developer Token + - ${{ env.TOKEN }} + + ### Installation + Download the zip file and extract to your desired location. token: ${{ secrets.GITHUB_TOKEN }} tag_name: v${{ env.VERSION }} name: Release v${{ env.VERSION }} diff --git a/.gitignore b/.gitignore index 8c39a17..dfc19a0 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,7 @@ # production /build */build - +/src/authtoken.json # misc .DS_Store .env.local