Skip to content

Commit 896cf56

Browse files
Fix tag filter and publish step.
1 parent 0f6b34c commit 896cf56

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/development.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- '!gh-pages' # exclude gh-pages branch
77
- '!stage*' # exclude branches beginning with stage
88
tags:
9-
- '*'
9+
- '[0-9]+\.[0-9]+\.[0-9]+'
1010
pull_request:
1111
branches:
1212
- '**' # every branch
@@ -90,9 +90,6 @@ jobs:
9090
DOCKER_CLIENT_TIMEOUT: "120"
9191
COMPOSE_HTTP_TIMEOUT: "120"
9292
steps:
93-
- name: Verify if release tag
94-
run: |
95-
echo "${GITHUB_REF#refs/*/}" | grep -oP '\d+\.\d+\.\d+'
9693
- uses: actions/checkout@v2
9794
- name: Deploy docs
9895
run: |
@@ -114,9 +111,6 @@ jobs:
114111
outputs:
115112
release_upload_url: ${{steps.create_gh_release.outputs.upload_url}}
116113
steps:
117-
- name: Verify if release tag
118-
run: |
119-
echo "${GITHUB_REF#refs/*/}" | grep -oP '\d+\.\d+\.\d+'
120114
- uses: actions/checkout@v2
121115
- name: Determine package version
122116
run: |
@@ -164,5 +158,5 @@ jobs:
164158
run: |
165159
export HOST_UID=$(id -u)
166160
docker-compose -f docker-compose-build.yaml run \
167-
-e TWINE_USERNAME=${TWINE_USERNAME} -e TWINE_PASSWORD=${TWINE_PASSWORD} datajoint \
161+
-e TWINE_USERNAME=${TWINE_USERNAME} -e TWINE_PASSWORD=${TWINE_PASSWORD} app \
168162
sh -lc "pip install twine && python -m twine upload dist/*"

0 commit comments

Comments
 (0)