Skip to content
Commits on Source (2)
......@@ -111,19 +111,19 @@ jobs:
curl -L --output ./discord.sh https://raw.githubusercontent.com/ChaoticWeg/discord.sh/master/discord.sh
chmod a+x ./discord.sh
./discord.sh \
--webhook-url="$WEBHOOK_URL"
--username "$CI_PROJECT_TITLE"
--avatar "https://i.griefed.de/images/2020/11/18/Prosper_Docker_300x300.png"
--text "There's been a new release for ${CI_PROJECT_TITLE}. The new version is ${CI_COMMIT_TAG} and is available at <${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}>"
--title "New ${CI_PROJECT_TITLE} Release"
--description "There's been a new release for ${CI_PROJECT_TITLE}. The new version is ${CI_COMMIT_TAG} and is available at ${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}"
--color "0xC0FFEE"
--url "${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}"
--author "Griefed"
--author-url "https://${CI_SERVER_HOST}/Griefed"
--author-icon "https://i.griefed.de/images/2022/01/21/sam_1500x1500.th.jpg"
--thumbnail "https://i.griefed.de/images/2020/11/18/Prosper_Docker_300x300.th.png"
--field "Author;[Griefed](https://${CI_SERVER_HOST}/Griefed)"
--field "Platform;[${CI_SERVER_HOST}](https://${CI_SERVER_HOST})"
--footer "Released at $CI_JOB_STARTED_AT"
--webhook-url="${{ secrets.WEBHOOK_URL }}" \
--username "$GITHUB_REPOSITORY" \
--avatar "https://i.griefed.de/images/2020/11/18/Prosper_Docker_300x300.png" \
--text "There's been a new release for $GITHUB_REPOSITORY. The new version is ${{steps.tag.outputs.tag}} and is available at <$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/tag/${{steps.tag.outputs.tag}}>" \
--title "New $GITHUB_REPOSITORY Release" \
--description "There's been a new release for $GITHUB_REPOSITORY. The new version is ${{steps.tag.outputs.tag}} and is available at $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/tag/${{steps.tag.outputs.tag}}" \
--color "0xC0FFEE" \
--url "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/tag/${{steps.tag.outputs.tag}}" \
--author "Griefed" \
--author-url "$GITHUB_SERVER_URL/Griefed" \
--author-icon "https://i.griefed.de/images/2022/01/21/sam_1500x1500.th.jpg" \
--thumbnail "https://i.griefed.de/images/2020/11/18/Prosper_Docker_300x300.th.png" \
--field "Author;[Griefed]($GITHUB_SERVER_URL/Griefed)" \
--field "Platform;[GitHub]($GITHUB_SERVER_URL)" \
--footer "Released at ${{ steps.date.outputs.today }}" \
--footer-icon "https://i.griefed.de/images/2022/01/21/start_generation.png"
\ No newline at end of file
......@@ -111,19 +111,19 @@ jobs:
curl -L --output ./discord.sh https://raw.githubusercontent.com/ChaoticWeg/discord.sh/master/discord.sh
chmod a+x ./discord.sh
./discord.sh \
--webhook-url="$WEBHOOK_URL"
--username "$CI_PROJECT_TITLE"
--avatar "https://i.griefed.de/images/2020/11/18/Prosper_Docker_300x300.png"
--text "There's been a new release for ${CI_PROJECT_TITLE}. The new version is ${CI_COMMIT_TAG} and is available at <${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}>"
--title "New ${CI_PROJECT_TITLE} Release"
--description "There's been a new release for ${CI_PROJECT_TITLE}. The new version is ${CI_COMMIT_TAG} and is available at ${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}"
--color "0xC0FFEE"
--url "${CI_PROJECT_URL}/-/releases/${CI_COMMIT_TAG}"
--author "Griefed"
--author-url "https://${CI_SERVER_HOST}/Griefed"
--author-icon "https://i.griefed.de/images/2022/01/21/sam_1500x1500.th.jpg"
--thumbnail "https://i.griefed.de/images/2020/11/18/Prosper_Docker_300x300.th.png"
--field "Author;[Griefed](https://${CI_SERVER_HOST}/Griefed)"
--field "Platform;[${CI_SERVER_HOST}](https://${CI_SERVER_HOST})"
--footer "Released at $CI_JOB_STARTED_AT"
--webhook-url="${{ secrets.WEBHOOK_URL }}" \
--username "$GITHUB_REPOSITORY" \
--avatar "https://i.griefed.de/images/2020/11/18/Prosper_Docker_300x300.png" \
--text "There's been a new release for $GITHUB_REPOSITORY. The new version is ${{steps.tag.outputs.tag}} and is available at <$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/tag/${{steps.tag.outputs.tag}}>" \
--title "New $GITHUB_REPOSITORY Release" \
--description "There's been a new release for $GITHUB_REPOSITORY. The new version is ${{steps.tag.outputs.tag}} and is available at $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/tag/${{steps.tag.outputs.tag}}" \
--color "0xC0FFEE" \
--url "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/tag/${{steps.tag.outputs.tag}}" \
--author "Griefed" \
--author-url "$GITHUB_SERVER_URL/Griefed" \
--author-icon "https://i.griefed.de/images/2022/01/21/sam_1500x1500.th.jpg" \
--thumbnail "https://i.griefed.de/images/2020/11/18/Prosper_Docker_300x300.th.png" \
--field "Author;[Griefed]($GITHUB_SERVER_URL/Griefed)" \
--field "Platform;[GitHub]($GITHUB_SERVER_URL)" \
--footer "Released at ${{ steps.date.outputs.today }}" \
--footer-icon "https://i.griefed.de/images/2022/01/21/start_generation.png"
\ No newline at end of file
### [1.0.3](https://git.griefed.de/Griefed/VersionChecker/compare/1.0.2...1.0.3) (2022-02-03)
### 🛠 Fixes
* Hopefully fix OSSRH username and password retrieval... Fix GitHub actions webhooks ([d2ae043](https://git.griefed.de/Griefed/VersionChecker/commit/d2ae0439af33d2db9823a351a7bdc8d9054492fd))
### [1.0.2](https://git.griefed.de/Griefed/VersionChecker/compare/1.0.1...1.0.2) (2022-02-03)
......
......@@ -176,8 +176,8 @@ publishing {
name = "OSSRH"
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = findProperty("ossrhUsername")
password = findProperty("ossrhPassword") }
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_PASSWORD") }
}
}
}
......