Skip to content

Commit 6e56744

Browse files
committed
DDSDK: Update YAML to use secrets
1 parent 29d7b49 commit 6e56744

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.yamato/android.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ release:
77
type: Unity::VM
88
image: mobile/android-linux-build:latest
99
flavor: i1.large
10+
variables:
11+
ARTIFACTORY_URL: artifactory.deltadna.net
1012
commands:
11-
- ./gradlew clean build check uploadArchives
12-
- ./docsAndTags.sh
13+
- ./gradlew -PSNAPSHOT_REPOSITORY_URL=https://https://artifactory.deltadna.net/artifactory/deltadna-repo -PMAVEN_SNAPSHOT_USERNAME=$MAVEN_SNAPSHOT_USERNAME -PMAVEN_SNAPSHOT_PASSWORD=$MAVEN_SNAPSHOT_PASSWORD -PRELEASE_REPOSITORY_URL="https://api.bintray.com/maven/deltadna/android/deltadna-sdk/;publish=1" -PMAVEN_RELEASE_USERNAME=$MAVEN_RELEASE_USERNAME -PMAVEN_RELEASE_PASSWORD=$MAVEN_RELEASE_PASSWORD clean build check uploadArchives
14+
- rm -rf .yamato
15+
- ./docsAndTags.sh
1316
artifacts:
1417
packages:
1518
paths:

docsAndTags.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env bash
22
version=$(sed '/^\#/d' gradle.properties | grep 'VERSION_NAME' | tail -n 1 | cut -d "=" -f2-)
33

4+
# This user is just a placeholder - no public commit should be attributed to them
5+
git config user.name "DeltaDNA"
6+
git config user.email "placeholder@example.com"
7+
48
git tag $version
59

610
git push origin $version
@@ -14,4 +18,3 @@ git remote add github git@github.com:deltaDNA/android-sdk.git
1418
git push -f github HEAD
1519
git push github $version
1620

17-
./scripts/publish-javadocs

0 commit comments

Comments
 (0)