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

ci(github): extract Bash instructions in script files & improve the existing one #582

Closed Djaytan closed 9 months ago

Djaytan commented 9 months ago

Note: the change has been tested successfully in the semantic-release-experiments repository: https://github.com/Djaytan/semantic-release-experiments/actions/runs/7943087923.


Google Shell Style Guide

This change rely on the Google Shell Style Guide which is available here: https://google.github.io/styleguide/shellguide.html

Most of the mentioned ones have been followed, especially these ones:

All the details are available in the Shell Style Guide provided above.


Signing logic extraction in separated Bash scripts

Extracting the whole signing logic into Bash scripts for the following reasons:

The idea of writing automated tests over the Bash scripts have been considered, and experimentation have been made with the ShellSpec tool. However, it was considered as too overkill for the few and pretty simple scripts that the project contains. Hence, the idea has been dropped to avoid unnecessary addition of complexity on the project.


Spigot plugin generation script adjustments

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 2 months ago

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

The release is available on GitHub release

Your semantic-release bot :package::rocket: