diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 8358da1..6466671 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -38,6 +38,8 @@ jobs: git push origin "v$version" - name: Create GitHub Release + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Set GH_TOKEN for GitHub CLI authentication run: | version=${{ env.VERSION }} description=$(jq -r --arg version "$version" '.[$version].description' version_info.json) @@ -53,7 +55,7 @@ jobs: git push origin --delete "v$version" - name: Build and push Docker image - if: success() + if: success() # This ensures Docker push only happens if the release creation succeeds run: | version=${{ env.VERSION }} docker build -t heavygee/hello-dalle-discordbot:latest . diff --git a/package.json b/package.json index f057c79..ce36d53 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hello-dalle-discordbot", - "version": "1.5.3", + "version": "1.5.2", "description": "Hello Dall-E will produce welcome images for your new users. Now with a wildcard that will 'prompt different' as you specify", "main": "bot.js", "scripts": { diff --git a/version_info.json b/version_info.json index 309f52a..9aacce5 100644 --- a/version_info.json +++ b/version_info.json @@ -30,9 +30,5 @@ "1.5.2": { "description": "Creates suggested profile pictures for new users without pfp. allows admins to toggle wide useage via \\!pfp-anyone", "changelog_url": "https://github.com/heavygee/hello-dalle-discordbot/releases/tag/v1.5.2" - }, - "1.5.3": { - "description": "Creates suggested profile pictures for new users without pfp. allows admins to toggle wide useage via \\!pfp-anyone - switched to typescript, added tests,administrivia", - "changelog_url": "https://github.com/heavygee/hello-dalle-discordbot/releases/tag/v1.5.3" } }