Skip to content

Commit

Permalink
ci: ensure snapshot_release job publishes canary artifacts (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidious authored Mar 23, 2023
1 parent e64728e commit b69c6c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ jobs:
- run: mvn clean install -DskipTests
- run: echo "$GPG_PRIVATE_KEY" | base64 --decode | gpg --import
- run: echo "default-key 7701193A898A849383D3E8B49F8AFEACBF07F7C4" > ~/.gnupg/gpg.conf
- run: sudo apt update && sudo apt install python
- run: python .circleci/snapshot.py
- run: sudo apt update && sudo apt install python3
- run: python3 .circleci/snapshot.py
- run: .circleci/publish.sh

release:
Expand Down Expand Up @@ -143,6 +143,7 @@ workflows:
- dependencies_npm
- selenium
- playwright
- check_licenses
filters:
branches:
only: develop
Expand All @@ -152,10 +153,11 @@ workflows:
- dependencies_npm
- selenium
- playwright
- check_licenses
filters:
branches:
only: master
- github_release:
context: html-tools
requires:
- release
- release
2 changes: 1 addition & 1 deletion .circleci/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def make_version_snapshot(pom_dir):
dep_version_node.text = dep_version_node.text + ss

tree.write(pom_path, xml_declaration = True, encoding = 'utf-8', method = 'xml')
print 'Added %s to version' % ss
print('Added %s to version' % ss)

pom_dirs = ['', 'selenium', 'playwright', 'utilities']

Expand Down

0 comments on commit b69c6c2

Please sign in to comment.