diff --git a/developer-knowledgebase/creating-a-release.md b/developer-knowledgebase/creating-a-release.md index 66e722737..cbe54bc79 100644 --- a/developer-knowledgebase/creating-a-release.md +++ b/developer-knowledgebase/creating-a-release.md @@ -34,7 +34,7 @@ In order to provide source maps for Sentry, we need to publish a release everyti To do that, change the VERSION constant of the `script/release.sh` script to match the version that you're publishing (eg 112). -Once that is done and the plugin is published, you can run `bin script/release.sh`. +Once that is done and the plugin is published, you can run `script/release.sh`. If that gives you an error, make sure that the file has the required permissions, e.g. `chmod …` diff --git a/script/release.sh b/script/release.sh index ac77a50d1..e11af2121 100755 --- a/script/release.sh +++ b/script/release.sh @@ -1,3 +1,4 @@ -VERSION=112.rc-3 -sentry-cli releases new "$VERSION" +VERSION=figma-tokens@112 sentry-cli releases -p figma-tokens files "$VERSION" upload-sourcemaps --ext ts --ext tsx --ext map --ext js --ignore-file .sentryignore . +sentry-cli releases set-commits "$VERSION" --auto +sentry-cli releases finalize "$VERSION" \ No newline at end of file