Introducing an automated workflow to effortlessly keep zotero-snap up-to-date.
Key Features:
Automated Checks: Daily checks for new Zotero releases.
Auto-Update: Automatically updates snapcraft.yaml for new versions.
Commit Changes: Commits updates directly to the master branch.
Manual Trigger Option: For additional control.
Removals:
main.yml: The main workflow previously created an issue for each upstream release. This has been removed, since we now handle those updates automatically.
How it works:
We streamline the workflow using 3rd party actions:
Note: Due to yq removing empty lines, we're using sed to update the project version in snapcraft.yml. We can switch back to yq if preserving empty lines is not important.
Successful Test
Check out the test run here and the resulting commit here showing the applied changes.
Benefits
Efficiency: Saves time and effort.
Reliability: Ensures consistent and timely updates.
Next Steps
Review & merge into master.
Let me know if you want the full yq solution.
Trigger the first update (e.g., 6.0.27 => 6.0.30). (update workflow)
Set up notifications; closely monitor initial updates.
Feedback? I'd love to hear ideas for further improvements!
Looking forward to your thoughts on these changes!
Quick Summary:
Introducing an automated workflow to effortlessly keep zotero-snap up-to-date.
Key Features:
snapcraft.yaml
for new versions.master
branch.Removals:
main.yml
: The main workflow previously created an issue for each upstream release. This has been removed, since we now handle those updates automatically.How it works:
We streamline the workflow using 3rd party actions:
Note: Due to
yq
removing empty lines, we're usingsed
to update the project version insnapcraft.yml
. We can switch back toyq
if preserving empty lines is not important.Successful Test
Check out the test run here and the resulting commit here showing the applied changes.
Benefits
Next Steps
master
.yq
solution.6.0.27 => 6.0.30
). (update workflow)Looking forward to your thoughts on these changes!