Skip to content

Commit

Permalink
#7 💚 fix CI release job
Browse files Browse the repository at this point in the history
  • Loading branch information
d-ryan-ashcraft committed Nov 1, 2024
1 parent 001bc09 commit ea3a8b1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE

- name: Create settings.xml
run: |
echo "<settings><servers><server><id>ossrh</id><username>${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_USER }}</username><password>${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_KEY }}</password></server><server><id>ghcr.io</id><username>${{ secrets.GHCR_IO_USERNAME }}</username><password>${{ secrets.GHCR_IO_TOKEN }}</password></server><server><id>pypi</id><username>${{ secrets.PYPI_USERNAME }}</username><password>${{ secrets.PYPI_TOKEN }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
- name: Release Booz Allen Licenses
run: |
git config --local user.email "aissemble-noreply@bah.com"
Expand All @@ -58,6 +63,4 @@ jobs:
mvn clean install -Dhabushu.usePyenv=false
mvn scm:checkin -Dmessage=":arrow_up: push example modules to version ${{ inputs.developmentVersion }}"
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_USER }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_CENTRAL_REPO_TOKEN_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "booz-allen-closed-source-python"
version = "1.3.0.dev"
version = "1.2.1"
description = ""
authors = ["Your Name <you@example.com>"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "booz-allen-government-use-python"
version = "1.3.0.dev"
version = "1.2.1"
description = ""
authors = ["Your Name <you@example.com>"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "booz-allen-limited-government-use-python"
version = "1.3.0.dev"
version = "1.2.1"
description = ""
authors = ["Your Name <you@example.com>"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "booz-allen-public-license-python"
version = "1.3.0.dev"
version = "1.2.1"
description = ""
authors = ["Your Name <you@example.com>"]

Expand Down

0 comments on commit ea3a8b1

Please sign in to comment.