Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
Updated logic.
  • Loading branch information
nhkhai committed Apr 30, 2024
1 parent eadcab8 commit c7c43e5
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,35 +240,35 @@ workflows:
requires:
# - build
- build_and_test
filters:
# branches:
# only:
# - main
# ignore:
# - release
branches:
only:
- release
# filters:
# branches:
# only:
# - main
# ignore:
# - release
# branches:
# only:
# - release

- publish:
# Ensure that the dependency job(s) are able to run (watch out for branch filtering affecting this), else publish and deploy (depends on publish) will not run at all.
requires:
# - test
- build_and_test
- scan
filters:
# tags:
# only: /^v[0-9]+\.[0-9]+\.[0-9]+$/ # Ensure this job runs only for semantically versioned tags. This regex pattern matches semantic versioning tags (e.g., v1.0.0, v2.1.3).
branches:
only:
- release
# filters:
# tags:
# only: /^v[0-9]+\.[0-9]+\.[0-9]+$/ # Ensure this job runs only for semantically versioned tags. This regex pattern matches semantic versioning tags (e.g., v1.0.0, v2.1.3).
# branches:
# only:
# - release

- deploy:
requires:
- publish
filters:
# tags:
# only: /^v[0-9]+\.[0-9]+\.[0-9]+$/ # Ensure this job runs only for semantically versioned tags. This regex pattern matches semantic versioning tags (e.g., v1.0.0, v2.1.3).
branches:
only:
- release
# filters:
# tags:
# only: /^v[0-9]+\.[0-9]+\.[0-9]+$/ # Ensure this job runs only for semantically versioned tags. This regex pattern matches semantic versioning tags (e.g., v1.0.0, v2.1.3).
# branches:
# only:
# - release

0 comments on commit c7c43e5

Please sign in to comment.