Djaytan / mc-jobs-reborn-patch-place-break

A place-break patch extension of JobsReborn plugin for Bukkit servers (Minecraft).
MIT License
6 stars 2 forks source link

fix(release): resolve permission denied issue when executing script #574

Closed Djaytan closed 9 months ago

Djaytan commented 9 months ago

It seems the generate-plugin.sh file is stored in Git without execution permission, which lead to the following error when trying to release a new version through the dedicated GitHub Actions workflow:

/bin/sh: 1: ./scripts/generate-plugin.sh: Permission denied

Trying to execute the command chmod +x generate-plugin.sh doesn't imply any change. Then I found the following article which provided me the right solution to fix the issue: https://www.designcise.com/web/tutorial/how-to-fix-github-action-permission-denied-error-when-executing-a-file.

The solution on Windows was to execute the following command instead:

git update-index --chmod=+x generate-plugin.sh
sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

github-actions[bot] commented 9 months ago

:tada: This PR is included in version 3.0.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 9 months ago

:tada: This PR is included in version 3.0.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 9 months ago

:tada: This PR is included in version 3.0.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: