Skip to content

Commit

Permalink
Attempt to fix plugin release to github (#43)
Browse files Browse the repository at this point in the history
During the last release, we still encountered an issue in the plugin
release step. Ensure we set the releaseVersion property when running the
gradle build.
  • Loading branch information
pkwarren authored May 2, 2023
1 parent 6c01604 commit 7ce9b3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ jobs:
uses: gradle/wrapper-validation-action@v1
- name: sha256
run: |
make buildplugin
tag=$(git describe --tags --abbrev=0 --exact-match)
release_version="${tag:1}"
echo "release_version=${release_version}" >> "$GITHUB_ENV"
export ORG_GRADLE_PROJECT_releaseVersion="${release_version}"
make buildplugin
sha256sum ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin-${release_version}.jar >> sha256.txt
- name: Publish GitHub artifacts
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 7ce9b3c

Please sign in to comment.