Skip to content

Commit

Permalink
try for a clean run
Browse files Browse the repository at this point in the history
  • Loading branch information
heavygee committed Sep 27, 2024
1 parent 628bcf0 commit 0d2bcd0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 .
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 0 additions & 4 deletions version_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit 0d2bcd0

Please sign in to comment.