Commit 7983d803 authored by Brian Hatchet's avatar Brian Hatchet :speech_balloon:

Loading version into sentry command

No related merge requests found
......@@ -156,24 +156,18 @@ jobs:
steps:
- attach_workspace:
at: /tmp/workspace
- run:
name: Load version from workspace
run: |
if [[ `cat /tmp/workspace/echo-output` == "Hello, world!" ]]; then
echo "It worked!";
else
echo "Nope!"; exit 1
fi
- run:
name: Tag sentry release
command: |
run: |
version=`cat /tmp/workspace/version`
echo Tagging release with ${version}
# release created by fastlane preparesentry
# APP_VERSION set in fastlane preparesentry
# https://circleci.com/docs/2.0/env-vars/#using-bash_env-to-set-environment-variables
# Using bashenv to persist
sentry-cli releases set-commits --auto ${APP_VERSION}
sentry-cli releases finalize ${APP_VERSION}
sentry-cli releases set-commits --auto ${version}
sentry-cli releases finalize ${version}
workflows:
version: 2
node-ios:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment