chore: add build ignores / fix release tag names

main
Guido Grazioli 2022-03-01 19:05:28 +01:00
parent 60c5a42ae4
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 }}

View File

@ -1,3 +1,4 @@
---
namespace: middleware_automation
name: keycloak
version: "1.0.0"
@ -26,3 +27,7 @@ repository: https://github.com/ansible-middleware/keycloak
documentation: https://ansible-middleware.github.io/keycloak
homepage: https://github.com/ansible-middleware/keycloak
issues: https://github.com/ansible-middleware/keycloak/issues
build_ignore:
- molecule
- docs
- .github