Skip to content

Commit

Permalink
[Badge Giver] Update v2.0.3
Browse files Browse the repository at this point in the history
- Update Content -

- Fixes the auto update system (Ok for real this time... I think)

- Note -

- The package.json won't update and causes the Release version v1.2.5.18 to glitch out
  • Loading branch information
ItzKeyYT committed Aug 24, 2024
1 parent 47c5190 commit 84c01cb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,18 @@ jobs:
version=$(node -p "require('./package.json').version")
echo "VERSION=$version" >> $GITHUB_ENV
# Print the value of VERSION for debugging
- name: Print VERSION
run: echo "VERSION=${{ env.VERSION }}"

- name: Zip changed files
run: |
zip -r BadgeGiver-v${{ env.VERSION }}.zip index.js package.json start_windows.bat start_linux.sh
zip -r BadgeGiver-v${{ env.VERSION }}.zip Bot package.json start_windows.bat start_linux.sh
- name: Get commit message
id: get_commit_message
run: |
COMMIT_MSG=$(git log --format=%b -n 1 ${{ github.sha }} | sed ':a;N;$!ba;s/\n/\ /g')
COMMIT_MSG=$(git log --format=%B -n 1 ${{ github.sha }})
echo "COMMIT_MSG=\"$COMMIT_MSG\"" >> $GITHUB_ENV
- name: Release
Expand All @@ -53,4 +52,4 @@ jobs:

permissions:
contents: write
discussions: write
discussions: write
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"WARNING": "Do not change any values in this file, especially the version number as that will mess up detecting updates.",
"name": "badgegiver",
"version": "1.2.5.18",
"description": "A way to claim the Active Developer badge on Discord without coding",
"main": "src/index.js",
"version": "2.0.3",
"description": "A project that can effortlessly obtain the Active Developer Badge on Discord using JavaScript, simplifying the process without requiring any coding expertise.",
"main": "Bot/index.js",
"scripts": {
"bot": "node src/index.js"
"bot": "node Bot/index.js"
},
"author": "ItzKeyCode",
"license": "MIT",
"keywords": [
"Active Developer Badge",
"Claim Active Developer Badge",
Expand All @@ -17,9 +14,14 @@
"JavaScript",
"JS"
],
"author": "ItzKeyCode",
"license": "MIT",
"dependencies": {
"discord.js": "^14.15.2",
"commandkit": "^0.1.10",
"discord.js": "^14.15.3",
"dotenv": "^16.4.5",
"fs": "^0.0.1-security",
"ms": "^2.1.3",
"node-fetch": "^3.3.2",
"readline": "^1.3.0"
}
Expand Down

0 comments on commit 84c01cb

Please sign in to comment.