4 Commits
2 changed files with 27 additions and 8 deletions
+26 -7
View File
@@ -80,14 +80,33 @@ jobs:
- name: Create GitHub Release - name: Create GitHub Release
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
CHANGELOG: ${{ steps.changelog.outputs.changelog }}
run: | run: |
gh release create "${{ inputs.version }}" \ VERSION="${{ inputs.version }}"
--title "${{ inputs.version }}" \ REPO="${{ github.repository }}"
--notes "${{ steps.changelog.outputs.changelog }}" \ DOWNLOAD_URL="https://github.com/${REPO}/releases/download/${VERSION}"
mc-1.21.8/build/libs/anarchymod-mc-1.21.8-${{ inputs.version }}.jar \
mc-1.21.9/build/libs/anarchymod-mc-1.21.9-${{ inputs.version }}.jar \ NOTES=$(cat <<EOF
mc-1.21.10/build/libs/anarchymod-mc-1.21.10-${{ inputs.version }}.jar \ ## Downloads
mc-1.21.11/build/libs/anarchymod-mc-1.21.11-${{ inputs.version }}.jar
| Minecraft Version | Download |
|---|---|
| 1.21.8 | [\`anarchymod-mc-1.21.8-${VERSION}.jar\`](${DOWNLOAD_URL}/anarchymod-mc-1.21.8-${VERSION}.jar) |
| 1.21.9 | [\`anarchymod-mc-1.21.9-${VERSION}.jar\`](${DOWNLOAD_URL}/anarchymod-mc-1.21.9-${VERSION}.jar) |
| 1.21.10 | [\`anarchymod-mc-1.21.10-${VERSION}.jar\`](${DOWNLOAD_URL}/anarchymod-mc-1.21.10-${VERSION}.jar) |
| 1.21.11 | [\`anarchymod-mc-1.21.11-${VERSION}.jar\`](${DOWNLOAD_URL}/anarchymod-mc-1.21.11-${VERSION}.jar) |
${CHANGELOG}
EOF
)
gh release create "${VERSION}" \
--title "AnarchyMod ${VERSION}" \
--notes "${NOTES}" \
mc-1.21.8/build/libs/anarchymod-mc-1.21.8-${VERSION}.jar \
mc-1.21.9/build/libs/anarchymod-mc-1.21.9-${VERSION}.jar \
mc-1.21.10/build/libs/anarchymod-mc-1.21.10-${VERSION}.jar \
mc-1.21.11/build/libs/anarchymod-mc-1.21.11-${VERSION}.jar
set-after-version: set-after-version:
needs: build needs: build
+1 -1
View File
@@ -3,7 +3,7 @@ plugins {
} }
group = "net.blockhost" group = "net.blockhost"
version = "1.0.0" version = "1.0.1"
repositories { repositories {
mavenCentral() mavenCentral()