From 0bc81cc78140110b966dc17ca598d7497173135b Mon Sep 17 00:00:00 2001 From: Guido Grazioli Date: Tue, 1 Mar 2022 19:05:28 +0100 Subject: [PATCH] chore: add build ignores / fix release tag names --- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 6 +++--- galaxy.yml | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2e303d6..c55a637 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,7 +5,7 @@ on: branches: - main tags: - - "*.*.*" + - "[0-9]+.[0-9]+.[0-9]+" env: COLORTERM: 'yes' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cafc1eb..820289d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/galaxy.yml b/galaxy.yml index f026867..3d7900e 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -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