Skip to content

Commit 71fec43

Browse files
authored
Modify tags allowed on develop. (#1282)
Require tags for anything on the develop include include -dev to allow creating a 'dev' release but to avoid confusion with an final release.
1 parent 6d008de commit 71fec43

4 files changed

Lines changed: 18 additions & 6 deletions

File tree

.github/workflows/get_version.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/nightly-schedule.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,18 @@ jobs:
3333
migration_image: ${{needs.develop.outputs.migration_image}}
3434
region: us-gov-west-1
3535
iam_role: arn:aws-us-gov:iam::718787032875:role/github-actions-ecr-cwms-data-api
36+
37+
test:
38+
permissions:
39+
packages: write
40+
contents: write
41+
uses: ./.github/workflows/release.yml
42+
secrets:
43+
token: ${{ secrets.GITHUB_TOKEN }}
44+
registry: ${{ secrets.HEC_PUB_REGISTRY}}
45+
registry_user: ${{ secrets.ALT_REG_USER }}
46+
registry_password: ${{ secrets.ALT_REG_PASSWORD }}
47+
with:
48+
branch: "test"
49+
nightly: true
50+
# May setup test nightly deploy in future, currently no permissions

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ on:
3333
description: Which Branch to make the build from
3434
options:
3535
- develop
36+
- test
3637
nightly:
3738
type: boolean
3839
required: true

.github/workflows/tagged-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Tagged Release
33
on:
44
push:
55
tags:
6-
- '[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9][0-9]'
7-
- '[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9][0-9]-[a-zA-Z0-9]+'
6+
# Allow an additional marker if multiple releases needed within a day.
7+
- '[0-9][0-9][0-9][0-9].[0-9][0-9].[0-9][0-9]-dev[a-z]*'
88
jobs:
99
release:
1010
uses: ./.github/workflows/release.yml

0 commit comments

Comments
 (0)