Commit abffd873 authored by Brian Hatchet's avatar Brian Hatchet :speech_balloon:

Persisting version to workspace

No related merge requests found
......@@ -122,6 +122,11 @@ jobs:
- /stable-*/
- /release-*/
- test/circle-ci
- persist_to_workspace:
root: ~/mobile-native/ios
paths:
- version
- run:
name: Upload to crashalytics
......@@ -149,6 +154,16 @@ jobs:
docker:
- image: getsentry/sentry-cli
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: |
......
......@@ -44,7 +44,7 @@ platform :ios do
xcodeproj: "Minds.xcodeproj",
target: "Minds"
)
sh("export APP_VERSION=" + version + " >> $BASH_ENV")
sh("echo " + version + " > ../version")
sentry_upload_dsym(
org_slug: 'minds-inc',
......
......@@ -31,11 +31,11 @@ Build release
fastlane ios testflight
```
Push a new beta build to TestFlight
### ios sentry
### ios preparesentry
```
fastlane ios sentry
fastlane ios preparesentry
```
Release in setry
Prepare sentry release
----
......
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