Skip to content

Commit

Permalink
tweak: remove version number from snap jar (#854)
Browse files Browse the repository at this point in the history
Fixes #486
  • Loading branch information
lupino3 authored Oct 26, 2023
1 parent 71f6447 commit ce46a56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/edumips64-snap-wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

$SNAP/usr/lib/jvm/java-17-openjdk-$SNAP_ARCH/bin/java -jar -Djava.util.prefs.userRoot="$SNAP_USER_DATA" $SNAP/jar/edumips64-1.3.0.jar $*
$SNAP/usr/lib/jvm/java-17-openjdk-$SNAP_ARCH/bin/java -jar -Djava.util.prefs.userRoot="$SNAP_USER_DATA" $SNAP/jar/edumips64.jar $*
2 changes: 1 addition & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ parts:
mkdir -p "$CRAFT_PART_INSTALL"/jar
bash gradlew --no-daemon "$@" jar && \
ls -ld build/libs/* && \
mv build/libs/edumips64-*.jar "$CRAFT_PART_INSTALL"/jar/edumips64-1.3.0.jar && \
mv build/libs/edumips64-*.jar "$CRAFT_PART_INSTALL"/jar/edumips64.jar && \
ls $CRAFT_PART_INSTALL/jar/*.jar -ld
source: .
# Install Python 3.10 and make it the default Python3 before the build stage,
Expand Down

0 comments on commit ce46a56

Please sign in to comment.