Skip to content

Commit d99a1ca

Browse files
committed
Fix unstable version in SNAP
It should be unstable-sha1 instead of version defined in a header
1 parent b696884 commit d99a1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ parts:
9999
make -j4
100100
PREFIX=${SNAPCRAFT_PART_INSTALL}/usr make install
101101
VER=`sed -n 's/^.* REDIS_VERSION "\(.*\)"$/\1/g p' < src/version.h`
102-
if [ "$VER" = "999.999.999" ]; then
102+
if [ "$VER" = "255.255.255" ]; then
103103
GITSHA=`sed -n 's/^.* REDIS_GIT_SHA1 "\(.*\)"$/\1/g p' < src/release.h`
104104
VER="unstable-$GITSHA"
105105
fi

0 commit comments

Comments
 (0)