Skip to content

Commit

Permalink
Correctly grab version
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-vakil committed Jul 24, 2024
1 parent c77cb89 commit 7922d4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/workflow_build_and_release_containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
registry_username: ${{ secrets.CLOUDSMITH_API_ACCOUNT }}
registry_password: ${{ secrets.CLOUDSMITH_API_KEY }}
create_release:
needs: [build_docker, build_cnab]
needs: [build_docker, build_cnab, generate_date_version]
runs-on: ubuntu-latest
steps:
- name: Install octopus .NET tool
Expand All @@ -55,7 +55,6 @@ jobs:
- name: determine if we should create release and deploy
id: should-create-release
run: |
echo "labels: ${{ toJSON(github.event.pull_request.labels.*.name) }}"
if [[ ${{ github.ref_name == 'main' || github.pull_request.labels.*.name == 'deploy-to-sandbox' }} ]]; then
echo "SHOULD_CREATE_RELEASE=true" >> $GITHUB_ENV
else
Expand Down

0 comments on commit 7922d4b

Please sign in to comment.