aboutsummaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-06-22 21:17:15 -0500
committerToby Vincent <tobyv13@gmail.com>2023-07-08 11:46:15 -0500
commit2e4fa58f7df52e6d6c67f476bd51b99bce8056cf (patch)
tree122f21b37a885bb14de81b5101eee37d6c24d480 /.build.yml
parentd5af0a52b60efcbb832b63962b273fcc70c24ff0 (diff)
build: simplify `xtask dist` and add --check
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 3aaed11..80c7b87 100644
--- a/.build.yml
+++ b/.build.yml
@@ -21,10 +21,10 @@ tasks:
cd projectr
cargo check --frozen --all-targets --all-features
cargo test --frozen --all-targets --all-features
- git describe --exact-match HEAD > pkgver || complete-build
+ cargo xtask dist --check || complete-build
- package: |
cd projectr
- cargo xtask dist --tag=$(<pkgver) > pkgdist
+ cargo xtask dist > pkgdist
- publish: |
cd projectr
hut git artifact upload $(<pkgdist) --rev=$(<pkgver)