-
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.
Add Snap update automation plus automated versioning (#24)
- Added the GitHub workflow .github/workflows/auto-update.yml to use the GitHub action of https://github.com/ubuntu/desktop-snaps to add automation of updating snapcraft.yaml whenever the upstream organization of the source of one of the parts issues a new release. The workflow checks the ustream sources every 24 hours (or by manually triggering in the GitHub web interface). See https://ubuntu.com/blog/improving-snap-maintenance-with-automation - Updated snapcraft.yaml to make the update automation applying to the parts, by downloading the source code from their GIT repos, selecting the version via source-tag: and marking the inclusion in the automation by source-depth:. Also added directives for the version tag format and exclusion of new generations or x.9y (possibly pre-release) versions.* Add update automation - Made use of the recently added widening of version numbering scheme support in ubuntu/desktop-snaps and the auto-pseudo-release-tagging GtHub workflow in foomatic-db.
- Loading branch information
1 parent
66bef3c
commit d2a1e51
Showing
2 changed files
with
86 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Push new tag update to stable branch | ||
|
||
on: | ||
schedule: | ||
# Daily for now | ||
- cron: '9 7 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-snapcraft-yaml: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout this repo | ||
uses: actions/checkout@v3 | ||
- name: Run desktop-snaps action | ||
uses: ubuntu/desktop-snaps@stable | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
repo: ${{ github.repository }} | ||
|
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