diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 184e7838..99722d42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,7 @@ jobs: - name: 🚀 Build & Release env: + HELP_URL: ${{github.server_url}}/${{github.repository}}/blob/${{github.sha}}/README.md CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} MODRINTH_API_KEY: ${{ secrets.MODRINTH_API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/scripts/prepare.sh b/scripts/prepare.sh index a7c74da4..5fdb8fe0 100755 --- a/scripts/prepare.sh +++ b/scripts/prepare.sh @@ -3,8 +3,6 @@ FILE=$1 VERSION=$2 -echo "HELP URL: $HELP_URL" - cat > "$FILE" < { const commands = []; program.name(APP_NAME).version(version).description(APP_DESCRIPTION); +program.addHelpText('after', '\nFor more information, visit: ' + helpUrl); program.on('option:quiet', () => { logger.flagQuiet();