init
This commit is contained in:
parent
f2e1ed539a
commit
912f50f4fb
@ -86,15 +86,16 @@ spec:
|
||||
fi
|
||||
cd -
|
||||
|
||||
# destination(monorepo) 변경사항 커밋 또는 리셋
|
||||
git add .
|
||||
git commit -m "auto-commit before nx import" || git reset --hard HEAD
|
||||
|
||||
echo "Importing: $SRC → $TARGET"
|
||||
npx nx import "$SRC" "$TARGET"
|
||||
echo "Updating version to $(params.version)"
|
||||
sed -i.bak "s/^version = .*/version = \"$(params.version)\"/" "$TARGET/Cargo.toml"
|
||||
rm -f "$TARGET/Cargo.toml.bak"
|
||||
|
||||
# destination(monorepo) 변경사항 커밋 또는 리셋
|
||||
git add .
|
||||
git commit -m "auto-commit before nx import" || git reset --hard HEAD
|
||||
|
||||
done
|
||||
|
||||
- name: git-commit
|
||||
|
Loading…
x
Reference in New Issue
Block a user