chore: add build ignores / fix release tag names

This commit is contained in:
Guido Grazioli 2022-03-01 19:05:28 +01:00
commit 0bc81cc781
No known key found for this signature in database
GPG key ID: 22C8C31EF2BC093B
3 changed files with 9 additions and 4 deletions

View file

@ -5,7 +5,7 @@ on:
branches:
- main
tags:
- "*.*.*"
- "[0-9]+.[0-9]+.[0-9]+"
env:
COLORTERM: 'yes'

View file

@ -1,9 +1,9 @@
---
name: Release collection
on:
push:
tags:
- "*.*.*"
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
@ -31,7 +31,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: "*.tar.gz"
body: "Release ${{ steps.get_version.outputs.TAG_VERSION }}"
body: "Release v${{ steps.get_version.outputs.TAG_VERSION }}"
- name: Publish collection
env:
ANSIBLE_GALAXY_API_KEY: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}