Skip to content

Commit

Permalink
Fix tag_name variable
Browse files Browse the repository at this point in the history
It shouldn't be exported to child processes
  • Loading branch information
ilya-fedin committed May 26, 2020
1 parent db0eac1 commit 2ce0893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/appimage-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,6 @@ jobs:
- name: AppImage build.
if: env.ONLY_CACHE == 'false'
shell: bash
env:
tag_name: ${{ github.event.client_payload.options.display_version }}
run: |
# Let appimagetool determine the repository
cd $REPO_NAME
Expand All @@ -610,6 +608,7 @@ jobs:
-exclude-libs=libatk-1.0.so.0,libatk-bridge-2.0.so.0,libatspi.so.0,libcairo-gobject.so.2,libcairo.so.2,libgdk-3.so.0,libgdk-x11-2.0.so.0,libgmodule-2.0.so.0,libgtk-3.so.0,libgtk-x11-2.0.so.0,libpixman-1.so.0,libpng12.so.0 \
-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
tag_name=${{ github.event.client_payload.options.display_version }}
version=${tag_name#k}
version=${version//-[[:digit:]]*/}
appimage_name=$(echo Kotatogram_Desktop*.AppImage)
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mac-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ jobs:
macdeployqt Kotatogram.app
codesign --remove-signature Kotatogram.app
tag_name=${{ github.event.client_payload.options.display_version }}
version=${tag_name#k}
version=${version//-[[:digit:]]*/}
artifact_name=$version.dmg
Expand Down

0 comments on commit 2ce0893

Please # to comment.