From 41b074cfc171999e1ab651b5cae5c32ad4424311 Mon Sep 17 00:00:00 2001 From: Maksim Zdobnikau <43750648+DelevoXDG@users.noreply.github.com> Date: Tue, 13 Feb 2024 11:48:53 +0100 Subject: [PATCH] Allow version x.yz.w format in release workflow (#414) --- .github/workflows/build-and-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index d87d6c40b..77f10b33a 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -151,7 +151,7 @@ jobs: - name: Bundle universal JAR run: ./gradlew lib:jar - name: Rename JAR - run: mv lib/build/libs/lib-[0-9].[0-9].[0-9].jar starknet.jar + run: mv lib/build/libs/lib-[0-9].[0-9][0-9].[0-9].jar starknet.jar - name: Upload the JAR uses: actions/upload-artifact@v3 with: @@ -168,7 +168,7 @@ jobs: - name: Generate sources JAR run: ./gradlew sourcesJar - name: Rename JARS - run: mv lib/build/libs/lib-[0-9].[0-9].[0-9]-javadoc.jar javadoc.jar && mv lib/build/libs/lib-[0-9].[0-9].[0-9]-sources.jar sources.jar + run: mv lib/build/libs/lib-[0-9].[0-9][0-9].[0-9]-javadoc.jar javadoc.jar && mv lib/build/libs/lib-[0-9].[0-9][0-9].[0-9]-sources.jar sources.jar - name: Upload javadoc JAR uses: actions/upload-artifact@v3 with: