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: branches:
- main - main
tags: tags:
- "*.*.*" - "[0-9]+.[0-9]+.[0-9]+"
env: env:
COLORTERM: 'yes' COLORTERM: 'yes'

View File

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

View File

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