-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbitrise.yml
40 lines (35 loc) · 1.02 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
format_version: 1.4.0
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: xamarin
workflows:
ci:
steps:
- script:
run_if: '{{getenv "BITRISE_GIT_BRANCH" | eq "master"}}'
inputs:
- content: |-
#!/bin/bash
# fail if any commands fails and debug log
set -ex
./build.sh -v diagnostic -t Publish-NuGetPackage
- script:
run_if: '{{getenv "BITRISE_GIT_BRANCH" | eq "master"}}'
inputs:
- content: |-
#!/bin/bash
# fail if any commands fails and debug log
set -ex
git tag $BITRISE_BUILD_NUMBER
git push --tags
- script:
run_if: '{{getenv "BITRISE_GIT_BRANCH" | ne "master"}}'
inputs:
- content: |-
#!/bin/bash
# fail if any commands fails and debug log
set -ex
./build.sh -v diagnostic -t NuGet
app:
envs:
- BITRISE_DEPLOY_DIR: artifacts