Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

fix: release workflow bugs (sed delimiter + pnpm --if-present) (#1059)

Francesco Bonaccie368b29cd084
diff --git a/.github/workflows/release-github-reusable.yml b/.github/workflows/release-github-reusable.yml
index 6a8e1e01f6..c58b91fcb8 100644
--- a/.github/workflows/release-github-reusable.yml
+++ b/.github/workflows/release-github-reusable.yml
@@ -104,7 +104,7 @@ jobs:
fi
# Link PR numbers: (#123) -> ([#123](https://github.com/REPO/pull/123))
- LINKED_SUBJECT=$(echo "$subject" | sed 's/(#\([0-9]*\))/([#\1](https:\/\/github.com\/${{ github.repository }}\/pull\/\1))/g')
+ LINKED_SUBJECT=$(echo "$subject" | sed 's~(#\([0-9]*\))~([#\1](https://github.com/${{ github.repository }}/pull/\1))~g')
SHORT_SHA=$(echo ${sha} | cut -c1-7)
NOTES="${NOTES}* ${LINKED_SUBJECT} (${SHORT_SHA}) by @${USERNAME}"$'\n'
diff --git a/.github/workflows/ts-reusable-publish.yml b/.github/workflows/ts-reusable-publish.yml
index 3b631d6f8e..74b65c2dc6 100644
--- a/.github/workflows/ts-reusable-publish.yml
+++ b/.github/workflows/ts-reusable-publish.yml
@@ -98,7 +98,7 @@ jobs:
bun run build
fi
else
- pnpm run build --if-present
+ pnpm run --if-present build
fi
- name: Publish to npm