Skip to content

Commit

Permalink
Fix version regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin committed May 13, 2020
1 parent 937060d commit 7cb6ae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/appimage-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ jobs:
-extra-plugins=bearer,iconengines,imageformats,platforminputcontexts,platforms/libqwayland-egl.so,platforms/libqwayland-generic.so,platformthemes/libqgtk3.so,platformthemes/libqxdgdesktopportal.so,styles/libkvantum.so,wayland-decoration-client,wayland-graphics-integration-client,wayland-shell-integration
version=${tag_name#k}
version=${version//-[[:digit:]]/}
version=${version//-[[:digit:]]*/}
appimage_name=$(echo Kotatogram_Desktop*.AppImage)
artifact_name=$version-appimage.tar.xz
echo ::set-env name=APPIMAGE_NAME::$appimage_name
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/win-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ jobs:
cd $REPO_NAME
version=${tag_name#k}
version=${version//-[[:digit:]]/}
version=${version//-[[:digit:]]*/}
artifact_name=$version.tar.xz
echo ::set-env name=ARTIFACT_NAME::$artifact_name
Expand Down

0 comments on commit 7cb6ae7

Please sign in to comment.