Skip to content

Commit

Permalink
ci: fix bump-version command
Browse files Browse the repository at this point in the history
  • Loading branch information
florianvazelle committed Dec 31, 2023
1 parent 0e8c446 commit 068579f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ import-resources:
sed -i "s,application/version=.*$,application/version=\"{{ game_version }}\",g" ./export_presets.cfg
sed -i "s,application/short_version=.*$,application/short_version=\"{{ short_version }}\",g" ./export_presets.cfg

echo "Update version in public/packaging"
sed -i "s,version:\ '.*'$,version:\ '{{ game_version }}',g" ./public/packaging/snap/snapcraft.yaml
sed -i "s,archive/refs/tags/.*\.tar\.gz$,archive/refs/tags/{{ game_version }}\.tar\.gz,g" ./public/packaging/snap/snapcraft.yaml
sed -i "s,releases/download/.*/Marble-linux-v.*\.zip$,releases/download/{{ game_version }}/Marble-linux-v{{ game_version }}\.zip,g" ./public/packaging/snap/snapcraft.yaml
sed -i "s,Version=.*$,Version={{ game_version }},g" ./public/packaging/org.mechanicalflower.Marble.desktop

echo "Create the override.cfg"
touch override.cfg
echo -e '[build_info]\npackage/version="{{ game_version }}"\npackage/build_date="{{ build_date }}"\nsource/commit="{{ commit_hash }}"' > override.cfg
Expand Down

0 comments on commit 068579f

Please sign in to comment.