Skip to content

Commit

Permalink
Add latest tag (#117)
Browse files Browse the repository at this point in the history
* add latest tag workflow

Add a latest tag on push
  • Loading branch information
gmodena authored Dec 13, 2024
1 parent 010634f commit 4db7ac4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/flakehub-publish-tagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ jobs:
visibility: "public"
name: "gmodena/nix-flatpak"
tag: "${{ inputs.tag }}"
- name: Run latest-tag
uses: EndBug/latest-tag@latest
15 changes: 15 additions & 0 deletions .github/workflows/tag-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Publish tags to FlakeHub"
on:
push:
tags:
- "v?[0-9]+.[0-9]+.[0-9]+*"
workflow_dispatch:
inputs:
tag:
description: "The existing tag to alias as latest"
type: "string"
required: true
jobs:
tag-latest:
- name: Run latest-tag
uses: EndBug/latest-tag@latest

0 comments on commit 4db7ac4

Please sign in to comment.