Skip to content

Commit e815e51

Browse files
committed
Skip 'latest' tag for release workflow
1 parent 8a9f72a commit e815e51

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ name: Publish Release
22
on:
33
release:
44
types: [created]
5-
tags-ignore:
6-
- 'latest'
75
jobs:
86
generate:
97
name: Create release-artifacts
108
# See: https://help.github.com/en/actions/reference/contexts-and-expression-syntax-for-github-actions#github-context
119
# https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
12-
if: github.repository == 'BimberLab/DiscvrLabKeyModules'
10+
# Note: 'latest' is a tag created by branch_latest.yml, which is the latest development build. This should not trigger normal releases.
11+
if: github.repository == 'BimberLab/DiscvrLabKeyModules' && github.ref != 'refs/tags/latest'
1312
runs-on: ubuntu-latest
1413
steps:
1514
- name: "Build DISCVR"

0 commit comments

Comments
 (0)