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 dcc8afe6b7
commit f6d9920adb

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: |
mv gen/Firebird-[0-9]*.tar.gz gen/Firebird-linux-amd64.tar.gz
@ -111,10 +110,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: |
mv gen/Firebird-[0-9]*.tar.gz gen/Firebird-linux-i586.tar.gz
@ -281,10 +279,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:
@ -456,10 +453,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: |
mv gen/artifacts/Firebird-*.pkg gen/artifacts/Firebird-macos-x86_64.pkg