Skip to content

Commit

Permalink
Merge pull request #53 from premiscale/generate-new-dev
Browse files Browse the repository at this point in the history
generate-new-dev: for testing tags
  • Loading branch information
emmeowzing authored Jun 21, 2024
2 parents b0a01da + 875de62 commit de854af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setup: true

orbs:
dynamic: bjd2385/[email protected]
general: premiscale/general@dev:af2118ae1c4d905008ac5d5daa53bd104afcc3e2
general: premiscale/general@dev:fe7546ad9cd08ebbe199bbff7b219a468c9d3c61
orb-tools: circleci/[email protected]
slack: circleci/[email protected]

Expand Down
2 changes: 1 addition & 1 deletion .circleci/src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1

orbs:
orb-tools: circleci/[email protected]
general: premiscale/general@dev:af2118ae1c4d905008ac5d5daa53bd104afcc3e2
general: premiscale/general@dev:fe7546ad9cd08ebbe199bbff7b219a468c9d3c61


workflows:
Expand Down
5 changes: 3 additions & 2 deletions src/jobs/github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ steps:
name: Configure gh CLI
command: |+
printf "<< parameters.token >>" | gh auth login --with-token 2>/dev/null || true
gh repo set-default "<< parameters.github-organization >>"/"<< parameters.github-project-name >>"
# This branch generates releases with both artifacts uploaded and signing-related artifacts with cosign.
- when:
Expand Down Expand Up @@ -126,13 +127,13 @@ steps:
# Generate the release and upload artifacts.
- run:
name: Generate release
command: |+
command: |
gh release create "$(git tag | sort -V | tail -1)" --generate-notes --attach "<< parameters.cosign-artifacts-directory >>/*"
# This is the typical release generation step with no artifacts (just the standard source tarballs).
- unless:
condition: << parameters.cosign >>
steps:
- run:
name: Generate release
command: |+
command: |
gh release create "$(git tag | sort -V | tail -1)" --generate-notes

0 comments on commit de854af

Please sign in to comment.