-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
justfile
27 lines (23 loc) · 899 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
metainfo := "data/net.base_art.Glide.metainfo.xml"
manifest-check:
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest build-aux/net.base_art.Glide.Devel.json
metainfo-check:
appstreamcli validate {{metainfo}}
flatpak run --command=flatpak-builder-lint org.flatpak.Builder appstream {{metainfo}}
[confirm("Have you added the new release notes in data/net.base_art.Glide.metainfo.xml?")]
release version: metainfo-check
meson rewrite kwargs set project / version {{version}}
cargo set-version {{version}}
git commit -am "Bump to {{version}}"
git tag -s {{version}} -m "{{version}}"
rm -fr _build
meson setup _build
meson dist -C _build
mv _build/meson-dist/* /tmp
rm -fr _build
@echo "Now pending, upload /tmp/glide-{{version}}.tar.xz to GitHub"
publish:
git push --tags
git push
cargo package
cargo publish