Cynnexis / tide

🌊 Tide is an application that helps reduce panic attacks with a simple breathing exercise.
https://cynnexis.github.io/tide/
GNU Affero General Public License v3.0
2 stars 0 forks source link

💚 Automatic release versionning #5

Closed Cynnexis closed 3 years ago

Cynnexis commented 3 years ago

Is your feature request related to a problem? Please describe. The current GitHub Actions workflow of this repository allow to automatically generate a release draft after a pull request has been merged. This is very useful, however the draft doesn't contain any useful information. It would be nice to have the field "Tag" and "Name" filled out by the CI/CD.

Describe the solution you'd like The program yq can parse the pubspec.yaml file to fetch the current Tide version, and then put it in the Release fields.

Describe alternatives you've considered To implement this feature, .github/workflows/main.yml must be edited to download yq in the release job, and then use it to fetch the version number by setting an environment variable in GitHub Actions.

Additional context