Skip to content

Commit

Permalink
release workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
max402 committed May 16, 2024
1 parent b13904a commit 35df44c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push-with-v-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ jobs:
STS_SECRET_SERVER_DOCKER_IMAGE_NAME: adorsys/sts-secret-server
STS_KEYCLOAK_ADAPTER_DOCKER_IMAGE_NAME: adorsys/keycloak-sts-adapter
TAG: ${{ env.TAG }}
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASS: ${{ secrets.DOCKERHUB_PASSWORD }}
4 changes: 2 additions & 2 deletions .github/workflows/release-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}
run: |
NEXT_VERSION="$(echo '${{ inputs.version }}' | perl -pe 's{^(([0-9]\.)+)?([0-9]+)$}{$1 . ($3 + 1)}e')"
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "release-scripts"
git config --global user.email "release-scripts@users.noreply.github.com"
./release-scripts/release.sh -v $VERSION $NEXT_VERSION
echo $(git log -5 --oneline)
git push --atomic origin master develop --follow-tags # all or nothing
Expand Down

0 comments on commit 35df44c

Please sign in to comment.