Skip to content

Commit

Permalink
chore: Update release procedure (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfarhaan authored and JGcarv committed Jun 6, 2023
1 parent 23cd8a6 commit 9a8a88a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions configs/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: loan
version: 4.0.0-beta.0
name: fixed-term-loan
version: 5.0.1
source: contracts
packages:
- path: contracts/MapleLoan.sol
Expand All @@ -12,8 +12,8 @@ packages:
contractName: MapleLoanInitializer
- path: contracts/MapleLoanStorage.sol
contractName: MapleLoanStorage
- path: contracts/MapleLoanV4Migrator.sol
contractName: MapleLoanV4Migrator
- path: contracts/MapleLoanV5Migrator.sol
contractName: MapleLoanV5Migrator
- path: contracts/Refinancer.sol
contractName: Refinancer
customDescription: Maple Loan Artifacts and ABIs
customDescription: Maple Fixed Term Loan Artifacts and ABIs
4 changes: 4 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ fuzz_runs = 1000

[profile.super_deep]
fuzz_runs = 50000

[profile.release]
optimizer = true # Enable or disable the solc optimizer
optimizer_runs = 200 # The number of optimizer runs
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version=$(cat ./configs/package.yaml | grep "version: " | sed -r 's/.{9}//')
name=$(cat ./configs/package.yaml | grep "name: " | sed -r 's/.{6}//')
customDescription=$(cat ./configs/package.yaml | grep "customDescription: " | sed -r 's/.{19}//')

./scripts/build.sh
./scripts/build.sh -p release

rm -rf ./package
mkdir -p package
Expand Down

0 comments on commit 9a8a88a

Please sign in to comment.