Skip to content

Commit 00d8f99

Browse files
authored
Use bash (#346)
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com> Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
1 parent 9d1b34d commit 00d8f99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
java-version: 11
1919
- name: Build with Gradle
2020
run: |
21+
export VERSION=`cat gradle.properties | grep "systemProp.version" | tr -d " " | cut -d '=' -f2`
22+
echo Building the version: $VERSION
2123
./gradlew --no-daemon publishPublishMavenPublicationToLocalRepoRepository && tar -C build -cvf artifacts.tar.gz repository
2224
- name: Draft a release
2325
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)