don't try to create a version on pull requests

The necessary keys to do so aren't available (and of course we don't try
to post a release on pull requests, anyway).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2023-12-15 09:26:48 -08:00
parent 57b355b314
commit 0edb1c71d8
3 changed files with 3 additions and 0 deletions

View file

@ -58,6 +58,7 @@ jobs:
- name: create version number
id: version_number
if: github.event_name == 'push'
run: |
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
today=$(date '+%Y-%m-%d')

View file

@ -56,6 +56,7 @@ jobs:
- name: create version number
id: version_number
if: github.event_name == 'push'
run: |
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
today=$(date '+%Y-%m-%d')

View file

@ -50,6 +50,7 @@ jobs:
- name: create version number
id: version_number
if: github.event_name == 'push'
run: |
latest=$(cat ../nightly-builds/latest-subsurface-buildnumber)
today=$(date '+%Y-%m-%d')