Skip to content

Commit 98200f2

Browse files
committed
Add workflow for generating 'latest' tag, bump version
1 parent 0595502 commit 98200f2

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.github/workflows/latest.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
3+
name: Update `latest` tag
4+
on:
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
run:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Run latest-tag
17+
uses: EndBug/latest-tag@latest
18+
with:
19+
ref: latest
20+
description: This tag is automatically generated on new releases.
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace: influxdata
88
name: molecule
99

1010
# The version of the collection. Must be compatible with semantic versioning
11-
version: 1.2.1
11+
version: 1.2.2
1212

1313
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1414
readme: README.md

roles/init/templates/collections.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ collections:
44
- name: community.docker
55
- name: git+https://github.com/influxdata/ansible-collection-molecule.git
66
type: git
7-
version: main
7+
version: latest
88

0 commit comments

Comments
 (0)