Skip to content

Commit

Permalink
Fix publish release (#1305)
Browse files Browse the repository at this point in the history
* Fixed the pipeline to get both user and toekn from the vault.

* Configured correct cross release command.

* Increased version since release worked.
  • Loading branch information
Tim-Linschoten authored Aug 8, 2022
1 parent 1895800 commit fad540e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions azure-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ steps:
git checkout master
git config --global user.email "[email protected]"
git config --global user.name "baker release pipeline"
git remote set-url origin "https://jacum:${GIT_AUTH_TOKEN}@github.com/ing-bank/baker"
git remote set-url origin "https://${GIT_AUTH_USER}:${GIT_AUTH_TOKEN}@github.com/ing-bank/baker"
sbt -Divy.home=${IVY_HOME} -Dsbt.ivy.home=${IVY_HOME} "+ release with-defaults"
sbt -Divy.home=${IVY_HOME} -Dsbt.ivy.home=${IVY_HOME} "release cross with-defaults"
rm -rf $(pubring.secureFilePath)
rm -rf $(secring.secureFilePath)
Expand All @@ -60,4 +60,5 @@ steps:
PGP_PASSPHRASE: $(gpg key)
# neeeded for gpg to work on headless azure agents
GPG_TTY: /dev/pts/0
GIT_AUTH_USER: $(github_user)
GIT_AUTH_TOKEN: $(github_token)
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ThisBuild / version := "3.5.0-SNAPSHOT"
ThisBuild / version := "3.5.1-SNAPSHOT"

0 comments on commit fad540e

Please sign in to comment.