Skip to content

Commit

Permalink
fix: Github Actions Not Releasing .jar and npm Packages #571 (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
efiege authored Oct 16, 2023
1 parent e026c22 commit c47cb53
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ jobs:
git log -1 > extensions/last-commit-info/src/main/resources/jar-last-commit-info.txt
echo $(date --utc +%FT%TZ) > extensions/last-commit-info/src/main/resources/jar-build-date.txt
- name: "Gradle: Overwrite Artifact Version (Release Only)"
if: ${{ startsWith(github.event.ref, 'refs/tags/') }}
run: |
if [ "${{ startsWith(github.ref, 'refs/tags/') }}" == "true" ]; then
GRADLE_ARGS="-PsovityEdcExtensionsVersion=${GITHUB_REF#refs/tags/v}"
fi
GRADLE_ARGS="-PsovityEdcExtensionsVersion=${GITHUB_REF#refs/tags/v}"
echo "GRADLE_ARGS=$GRADLE_ARGS" >> $GITHUB_ENV
- name: "Gradle: Build"
uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c
Expand Down Expand Up @@ -159,7 +158,7 @@ jobs:
- name: "NPM: Dist Tag & Version"
working-directory: ./extensions/wrapper/clients/typescript-client
run: |
if [ "${{ startsWith(github.ref, 'refs/tags/') }}" == "true" ]; then
if [ "${{ startsWith(github.event.ref, 'refs/tags/') }}" == "true" ]; then
# Full Release
VERSION="${GITHUB_REF#refs/tags/v}"
DIST_TAG=latest
Expand Down

0 comments on commit c47cb53

Please sign in to comment.