forked from akabarki76/bugster-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
31 lines (26 loc) · 761 Bytes
/
justfile
File metadata and controls
31 lines (26 loc) · 761 Bytes
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
28
29
30
31
default:
@just --list
update-deps:
@echo "🚧 Updating deps..."
python scripts/update_dependencies.py
@echo "✅ Done!"
# Release commands
release-dev version variant="beta":
#!/usr/bin/env bash
./scripts/release.sh {{version}} development {{variant}}
release-prod version:
#!/usr/bin/env bash
./scripts/release.sh {{version}} production
release-interactive:
#!/usr/bin/env bash
./scripts/interactive-release.py
release version type number:
#!/usr/bin/env bash
if [ "{{type}}" = "stable" ]; then
TAG="v{{version}}"
else
TAG="v{{version}}-beta.{{number}}"
fi
echo "🚀 Releasing... $TAG"
git tag -a "$TAG" -m "Bugster CLI $TAG" && git push origin --tags
echo "✅ Done!"