-
Notifications
You must be signed in to change notification settings - Fork 13
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 (#28)
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 bumb the version. This also improves readability, having the current version number visible near the top of the file. - Remove "override-pull:" in the "foomatic-db" 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 "foomatic-db" 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: '^(\d{8})'" to the call of the GitHub action. This tell to the action to also perform versioning automation and it also tells the format of the upstream version numbers. - We do not remove the "adopt-info: foomatic-db" even with all metadata fields in snapcraft.yaml being hard-coded and no "craftctl set ..." calls in the "foomatic-db" part. It only tells the GitHub action which part is the supplier of the upstream version number. - A leftover comment which is not correct any more got removed now.
- Loading branch information
1 parent
fbae1f8
commit 281d3af
Showing
2 changed files
with
4 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ jobs: | |
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
repo: ${{ github.repository }} | ||
|
||
version-schema: '^(\d{8})' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters