-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fixTypesAction_6' into testPlayground
- Loading branch information
Showing
1 changed file
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,10 +57,16 @@ jobs: | |
# Step 9: Copy generated types and ABI into the lifi-contract-types repo | ||
- name: Copy Type Bindings and ABI | ||
run: | | ||
rm -r lifi-contract-types/src/ | ||
mv typechain lifi-contract-types/src | ||
rm -rf lifi-contract-types/src/ | ||
mkdir -p lifi-contract-types/src | ||
cp -r typechain/* lifi-contract-types/src/ | ||
cp diamond.json lifi-contract-types/dist/ | ||
- name: Verify File Status (for debugging) | ||
run: | | ||
cd lifi-contract-types | ||
git status | ||
# Step 10: Build the lifi-contract-types project | ||
- name: Build Contract Types | ||
run: cd lifi-contract-types && yarn install && yarn build | ||
|
@@ -167,9 +173,11 @@ jobs: | |
git config user.name github-actions | ||
git config user.email [email protected] | ||
echo "Updating version from $LATEST_TAG to $NEW_VERSION" | ||
git add src/* | ||
git add dist/* | ||
git add package.json | ||
# git add src/* | ||
# git add dist/* | ||
# git add package.json | ||
git add -A # Stage all changes, including deletions | ||
git commit -m "actions: new contracts version $NEW_VERSION" | ||
# Annotate and push the new tag | ||
|