8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00

Publish snapshots only when commit message is 'increment build number'.

This commit is contained in:
Adriano dos Santos Fernandes 2022-08-22 08:22:49 -03:00
parent 1a4fb48f10
commit c4005bac38

View File

@ -52,10 +52,9 @@ jobs:
- name: Snapshot - prepare
id: snapshot_prepare
# FIXME: github.event.head_commit.message == 'increment build number'
if: |
github.repository == 'FirebirdSQL/firebird' &&
(github.event.head_commit.message == 'increment build number' || true) &&
github.event.head_commit.message == 'increment build number' &&
github.ref_name == 'master'
run: |
echo "::set-output name=snapshot_name::${{ github.ref_name }}"
@ -121,10 +120,9 @@ jobs:
- name: Snapshot - prepare
id: snapshot_prepare
# FIXME: github.event.head_commit.message == 'increment build number'
if: |
github.repository == 'FirebirdSQL/firebird' &&
(github.event.head_commit.message == 'increment build number' || true) &&
github.event.head_commit.message == 'increment build number' &&
github.ref_name == 'master'
run: |
echo "::set-output name=snapshot_name::${{ github.ref_name }}"
@ -301,10 +299,9 @@ jobs:
- name: Snapshot - prepare
id: snapshot_prepare
# FIXME: github.event.head_commit.message == 'increment build number'
if: |
github.repository == 'FirebirdSQL/firebird' &&
(github.event.head_commit.message == 'increment build number' || true) &&
github.event.head_commit.message == 'increment build number' &&
github.ref_name == 'master'
shell: cmd
env:
@ -488,10 +485,9 @@ jobs:
- name: Snapshot - prepare
id: snapshot_prepare
# FIXME: github.event.head_commit.message == 'increment build number'
if: |
github.repository == 'FirebirdSQL/firebird' &&
(github.event.head_commit.message == 'increment build number' || true) &&
github.event.head_commit.message == 'increment build number' &&
github.ref_name == 'master'
run: |
echo "::set-output name=snapshot_name::${{ github.ref_name }}"