Skip to content

Commit

Permalink
Merge pull request #19 from mbellgb/patch-1
Browse files Browse the repository at this point in the history
Update @commands.yml to parse environment variables
  • Loading branch information
cfra authored Nov 8, 2019
2 parents caa975c + da68ec8 commit 1603ba2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/commands/@commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ create-release:
name: Create a new Sentry release
command: |
VERSION=$(cat sentry-release-version.txt)
sentry-cli releases --org "<< parameters.org >>" new \
--project "<< parameters.project >>" "$VERSION"
sentry-cli releases --org "${<< parameters.org >>}" new \
--project "${<< parameters.project >>}" "${VERSION}"
finalize-release:
description: >
Finalize a Sentry release. Execute only once per release.
Expand All @@ -64,7 +64,7 @@ finalize-release:
name: Finalize a Sentry release
command: |
VERSION=$(cat sentry-release-version.txt)
sentry-cli releases --org "<< parameters.org >>" finalize "$VERSION"
sentry-cli releases --org "${<< parameters.org >>}" finalize "${VERSION}"
set-commits:
description: >
Set commits of a Sentry release. Execute only once per release.
Expand All @@ -77,7 +77,7 @@ set-commits:
name: Set commits of a Sentry release
command: |
VERSION=$(cat sentry-release-version.txt)
sentry-cli releases --org "<< parameters.org >>" set-commits --auto "$VERSION"
sentry-cli releases --org "${<< parameters.org >>}" set-commits --auto "${VERSION}"
create-deployment:
description: >
Create a new Sentry release deployment. Execute for each deployment of a release. If the
Expand All @@ -95,5 +95,5 @@ create-deployment:
name: Create a new Sentry release deployment
command: |
VERSION=$(cat sentry-release-version.txt)
sentry-cli releases --org "<< parameters.org >>" deploys "$VERSION" new \
sentry-cli releases --org "${<< parameters.org >>}" deploys "${VERSION}" new \
--env "<< parameters.env >>"

0 comments on commit 1603ba2

Please sign in to comment.