Skip to content

Commit

Permalink
ci: Modified version check on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
IanTapply22 committed May 25, 2024
1 parent d71e11b commit 276a520
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
PUBLISHED_VERSION=$(curl -s \
-u ${{ secrets.GITHUB_USERNAME }}:${{ secrets.GITHUB_TOKEN }} \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/packages/gradle/${{needs.version.outputs.version}})
https://github.com/IanTapply22/Wynncraft/packages/2160010?version=${{needs.version.outputs.version}})
if [[ "$PUBLISHED_VERSION" == *"${{needs.version.outputs.version}}"* ]]; then
echo "Version is already published. Skipping publish step."
exit 0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Great question! This repository does not contain a license at this point of time
Aren't sure when a new release will be published or what's planned for this project? Please see the [Project Board/Planner](https://github.com/users/IanTapply22/projects/8) to view the progress, roadmap, backlog, and reported bugs associated with the project. The board is updated frequently and is the go-to place to view the status of this project.

## Contributing
The Wynncraft open-source project is open to contributions from anyone. If you wish to contribute to the project, please see the [CONTRIBUTING.md]() file for more information on how to contribute to the project.
The Wynncraft open-source project is open to contributions from anyone. If you wish to contribute to the project, please see the [CONTRIBUTING.md](https://github.com/IanTapply22/Wynncraft/blob/main/CONTRIBUTING.md) file for more information on how to contribute to the project.
<br>
Some ways to contribute to the project include:
- Reporting bugs or issues to our [Issue Tracker](https://github.com/IanTapply22/Wynncraft/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)
Expand Down

0 comments on commit 276a520

Please sign in to comment.