Skip to content

Commit

Permalink
Add workflow for generating 'latest' tag, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
syndr committed Mar 11, 2024
1 parent 0595502 commit 98200f2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---

name: Update `latest` tag
on:
release:
types: [published]

jobs:
run:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Run latest-tag
uses: EndBug/latest-tag@latest
with:
ref: latest
description: This tag is automatically generated on new releases.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace: influxdata
name: molecule

# The version of the collection. Must be compatible with semantic versioning
version: 1.2.1
version: 1.2.2

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
2 changes: 1 addition & 1 deletion roles/init/templates/collections.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ collections:
- name: community.docker
- name: git+https://github.com/influxdata/ansible-collection-molecule.git
type: git
version: main
version: latest

0 comments on commit 98200f2

Please sign in to comment.