Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the Snap versioning automation of ubuntu/desktop-snaps (#14)
Remove the versioning automation scripting from snapcraft.yaml and add the needed changes so that the GitHub action of ubuntu/desktop-snaps does the versioning automation. - Hard-code "version" and "grade" metadata fields in snapcraft.yaml. The GitHub action modifies this file to bump the version. This also improves readability, having the current version number visible near the top of the file. - Remove "override-pull:" in the "ghostscript" part. We use the versioning automation in the GitHub action and do not need our own script any more. - Remove the "jq" from the "build-packages:" in the "ghostscript" part. This was only needed for our own versioning automation script. - In the workflow file, .github/workflows/auto-update.yml, we add the parameter "version-schema: '^ghostpdl-(\d+\.\d+\.\d+)'" to the call of the GitHub action. This tells to the action to also perform versioning automation and it also tells the format of the upstream release tags. - We do not remove the "adopt-info: ghostscript" even with all metadata fields in snapcraft.yaml being hard-coded and no "craftctl set ..." calls in the "ghostscript" part. It only tells the GitHub action which part is the supplier of the upstream version number.
- Loading branch information