diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index b765af7..be664c6 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -19,7 +19,6 @@ jobs: uses: actions/checkout@v4.1.7 with: fetch-depth: 0 -# - run: git switch - - name: Setup Java uses: actions/setup-java@v4.2.2 with: @@ -36,6 +35,8 @@ jobs: ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} ORG_GRADLE_PROJECT_sonatypeUser: ${{ secrets.SONATYPE_USER }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} + - name: Switch to branch HEAD + run: git switch - - name: Update README run: sed -i 's/com\.xemantic\.kotlin:xemantic-kotlin-swing-dsl-\(core\|test\):[0-9]\+\(\.[0-9]\+\)*\>/com.xemantic.kotlin:xemantic-kotlin-swing-dsl-\1:${VERSION}/g' README.md - name: Commit README