Skip to content

Commit

Permalink
Add Cargo.lock to the release job
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 committed Dec 12, 2022
1 parent 14f5cf9 commit 20bd161
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ tasks:
- "git clone --quiet ${repository} &&
cd rust-code-analysis &&
git -c advice.detachedHead=false checkout ${head_rev} &&
cargo update &&
cargo build --workspace --release &&
cargo package --all-features &&
pushd rust-code-analysis-cli && cargo package --all-features && popd &&
Expand All @@ -296,6 +297,10 @@ tasks:
expires: {$fromNow: '2 weeks'}
path: /rust-code-analysis-linux-web-x86_64.tar.gz
type: file
public/Cargo.lock:
expires: {$fromNow: '2 weeks'}
path: Cargo.lock
type: file
metadata:
name: rust-code-analysis linux release build
description: rust-code-analysis linux release build
Expand Down Expand Up @@ -388,7 +393,7 @@ tasks:
tar xfz book.tar.gz -C rust-code-analysis-book &&
./rust-code-analysis-book/deploy-to-GitHub-Pages &&
taskboot git-push --force-push github.com/mozilla/rust-code-analysis moz-tools-bot gh-pages &&
taskboot github-release mozilla/rust-code-analysis ${head_branch[10:]} --asset ${linux_cli}:public/${linux_cli} ${linux_web}:public/${linux_web} ${win_cli}:public/${win_cli} ${win_web}:public/${win_web} &&
taskboot github-release mozilla/rust-code-analysis ${head_branch[10:]} --asset Cargo.lock:public/Cargo.lock ${linux_cli}:public/${linux_cli} ${linux_web}:public/${linux_web} ${win_cli}:public/${win_cli} ${win_web}:public/${win_web} &&
rm -rf book.tar.gz"
metadata:
name: "rust-code-analysis release publication ${head_branch[10:]}"
Expand Down

0 comments on commit 20bd161

Please sign in to comment.