Commit 2c1d5a4f authored by Alex Gleason's avatar Alex Gleason

Merge branch 'readme-deploy' into 'master'

Improve deploy instructions

See merge request !6
parents 8a188380 f26885a3
Pipeline #135081723 passed with stage
in 23 minutes and 26 seconds
......@@ -3,4 +3,5 @@
/prime
/stage
*.snap
*.xdelta3
.snapcraft
......@@ -31,5 +31,25 @@ You should now have icons in your applications menu for the Quest Editor and Lau
See [*Releasing your app*](https://docs.snapcraft.io/releasing-your-app/6795).
* `snapcraft login`
* `snapcraft push --release=stable solarus_*.snap`
1. Log into Snapcraft if you haven't already done so.
```
snapcraft login
```
2. Push your build to the `edge` channel. Take note of the revision number returned by this command.
```
snapcraft push --release=edge solarus_*.snap
```
3. Test the revision on your own computer by switching to the `edge` channel. Launch the app and make sure all the functions work.
```
snap switch --channel=edge solarus
snap refresh solarus
```
4. Repeat steps 2 and 3 as necessary until you're ready for a stable release.
5. Once you're confident to push it live, just bump the revision into the `stable` channel.
```
snapcraft release solarus <revision> stable
```
[Desktop Entry]
Version=1.0
Type=Application
Name=Solarus
GenericName=ARPG game engine
Comment=A free and open-source Action-RPG game engine
Exec=solarus
Icon=${SNAP}/share/icons/hicolor/256x256/apps/solarus.png
Exec=solarus-launcher
Icon=${SNAP}/share/icons/hicolor/scalable/apps/solarus-launcher.svg
Terminal=false
NoDisplay=true
StartupNotify=true
......
......@@ -126,7 +126,7 @@ parts:
set -eu
snapcraftctl prime
# Fix-up application icon lookup
sed --in-place 's|^Icon=.*|Icon=${SNAP}/share/icons/hicolor/512x512/apps/solarus.png|' share/applications/solarus-launcher.desktop
sed --in-place 's|^Icon=.*|Icon=${SNAP}/share/icons/hicolor/scalable/apps/solarus-launcher.svg|' share/applications/solarus-launcher.desktop
quest-editor:
plugin: cmake
source-type: git
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment