mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-25 04:10:15 +10:00
fix: pass platform and correctly release (#952)
This commit is contained in:
@@ -17,7 +17,6 @@ else
|
||||
|
||||
echo "$SNAP_STORE_LOGIN" | snapcraft login --with -
|
||||
|
||||
ARCHITECTURE=$(dpkg --print-architecture)
|
||||
echo "Architecture: ${ARCHITECTURE}"
|
||||
|
||||
SNAP_VERSION=$(snapcraft list-revisions codium | grep -F stable* | grep ${ARCHITECTURE} | tr -s ' ' | cut -d ' ' -f 4)
|
||||
|
||||
11
stores/snapcraft/release.sh
Executable file
11
stores/snapcraft/release.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
CALLER_DIR=$( pwd )
|
||||
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
||||
|
||||
snapcraft upload --release=stable *.snap
|
||||
|
||||
cd "${CALLER_DIR}"
|
||||
Reference in New Issue
Block a user