diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 80ba9d2..174f2a2 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,6 +3,7 @@ on: push: branches: - master + - dev jobs: build-and-test: @@ -59,9 +60,22 @@ 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 }} + + ### 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 }} + files: | release-artifacts/admin_dashboard-${{ env.VERSION }}.zip draft: false diff --git a/.gitignore b/.gitignore index 8c39a17..1599989 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ # production /build */build +/src/authtoken.json # misc .DS_Store diff --git a/generatetoken.js b/generatetoken.js index 12814b7..59c7a06 100644 --- a/generatetoken.js +++ b/generatetoken.js @@ -1,6 +1,6 @@ const fs = require('fs'); -const filePath = 'authtoken.json'; +const filePath = 'src/authtoken.json'; if (!fs.existsSync(filePath)) { const randomToken = (Math.random().toString(36).substring(2, 10)); diff --git a/public/robots.txt b/public/robots.txt index e9e57dc..b21f088 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,3 @@ # https://www.robotstxt.org/robotstxt.html User-agent: * -Disallow: +Disallow: / diff --git a/src/metadata.json b/src/metadata.json index cdb01f7..c2431d7 100644 --- a/src/metadata.json +++ b/src/metadata.json @@ -1 +1 @@ -{"buildMajor":1,"buildMinor":0,"buildRevision":16,"buildTag":"DEV"} +{"buildMajor":1,"buildMinor":0,"buildRevision":17,"buildTag":"DEV"} \ No newline at end of file