Skip to content

Commit

Permalink
Craft
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Nov 23, 2023
1 parent 2c91d19 commit 0bf7c78
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,35 @@ targets:
- path: /sentry-cli/latest/
metadata:
cacheControl: public, max-age=600

# Main Sentry CLI package
- name: npm
id: '@sentry/cli'
includeNames: /^sentry-cli-\d.*\.tgz$/

# Binary distributions on npm
- name: npm
id: '@sentry/cli-darwin'
includeNames: /^sentry-cli-darwin-\d.*\.tgz$/
- name: npm
id: '@sentry/cli-linux-arm'
includeNames: /^sentry-cli-linux-arm-\d.*\.tgz$/
- name: npm
id: '@sentry/cli-linux-arm64'
includeNames: /^sentry-cli-linux-arm64-\d.*\.tgz$/
- name: npm
id: '@sentry/cli-linux-i686'
includeNames: /^sentry-cli-linux-i686-\d.*\.tgz$/
- name: npm
id: '@sentry/cli-linux-x64'
includeNames: /^sentry-cli-linux-x64-\d.*\.tgz$/
- name: npm
id: '@sentry/cli-win32-i686'
includeNames: /^sentry-cli-win32-i686-\d.*\.tgz$/
- name: npm
id: '@sentry/cli-win32-x64'
includeNames: /^sentry-cli-win32-x64-\d.*\.tgz$/

- name: brew
tap: getsentry/tools
template: >
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
run: rm -rf npm-binary-distributions/*/bin/.gitkeep
- name: Package distribution packages
run: |
for dir in npm-binary-distributions/*/bin/; do
for dir in npm-binary-distributions/*; do
cd $dir
npm pack
cd -
Expand Down
6 changes: 6 additions & 0 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ cargo update -p sentry-cli
# Do not tag and commit changes made by "npm version"
export npm_config_git_tag_version=false
npm version "${TARGET}"

for dir in $SCRIPT_DIR/../npm-binary-distributions/*; do
cd $dir
npm version "${TARGET}"
cd -
done

0 comments on commit 0bf7c78

Please sign in to comment.