datakeen-session-react 1.1.140-rc.94 → 1.1.140-rc.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitlab-ci.yml +9 -3
- package/package.json +1 -1
package/.gitlab-ci.yml
CHANGED
|
@@ -132,9 +132,11 @@ publish:main:
|
|
|
132
132
|
- git config user.email "ci@datakeen.io"
|
|
133
133
|
- git config user.name "Datakeen CI"
|
|
134
134
|
- git remote set-url origin https://${CI_PUSH_USER}:${CI_PUSH_TOKEN}@gitlab.datakeen.co/datakeenteam/teamfullstack/client-sessions-react-sdk.git
|
|
135
|
+
- git fetch origin "$CI_COMMIT_BRANCH"
|
|
136
|
+
- git checkout -B "$CI_COMMIT_BRANCH" "origin/$CI_COMMIT_BRANCH"
|
|
135
137
|
- 'npm version patch -m "chore(release): %s"'
|
|
136
138
|
- export TARGET_TAG="v$(node -p "require('./package.json').version")"
|
|
137
|
-
- git push -o ci.skip origin
|
|
139
|
+
- git push -o ci.skip origin "$CI_COMMIT_BRANCH"
|
|
138
140
|
- git push -o ci.skip origin --tags
|
|
139
141
|
- git remote add relay "https://oauth2:${RELAY_API_TOKEN}@gitlab.com/datakeen-ci-relay/npm-publish-relay.git" 2>/dev/null || git remote set-url relay "https://oauth2:${RELAY_API_TOKEN}@gitlab.com/datakeen-ci-relay/npm-publish-relay.git"
|
|
140
142
|
- git checkout --orphan "relay-snapshot-${CI_JOB_ID}"
|
|
@@ -185,9 +187,11 @@ publish:staging:
|
|
|
185
187
|
- git config user.email "ci@datakeen.io"
|
|
186
188
|
- git config user.name "Datakeen CI"
|
|
187
189
|
- git remote set-url origin https://${CI_PUSH_USER}:${CI_PUSH_TOKEN}@gitlab.datakeen.co/datakeenteam/teamfullstack/client-sessions-react-sdk.git
|
|
190
|
+
- git fetch origin "$CI_COMMIT_BRANCH"
|
|
191
|
+
- git checkout -B "$CI_COMMIT_BRANCH" "origin/$CI_COMMIT_BRANCH"
|
|
188
192
|
- 'npm version prerelease --preid=rc -m "chore(release): %s"'
|
|
189
193
|
- export TARGET_TAG="v$(node -p "require('./package.json').version")"
|
|
190
|
-
- git push -o ci.skip origin
|
|
194
|
+
- git push -o ci.skip origin "$CI_COMMIT_BRANCH"
|
|
191
195
|
- git push -o ci.skip origin --tags
|
|
192
196
|
- git remote add relay "https://oauth2:${RELAY_API_TOKEN}@gitlab.com/datakeen-ci-relay/npm-publish-relay.git" 2>/dev/null || git remote set-url relay "https://oauth2:${RELAY_API_TOKEN}@gitlab.com/datakeen-ci-relay/npm-publish-relay.git"
|
|
193
197
|
- git checkout --orphan "relay-snapshot-${CI_JOB_ID}"
|
|
@@ -238,9 +242,11 @@ publish:dev:
|
|
|
238
242
|
- git config user.email "ci@datakeen.io"
|
|
239
243
|
- git config user.name "Datakeen CI"
|
|
240
244
|
- git remote set-url origin https://${CI_PUSH_USER}:${CI_PUSH_TOKEN}@gitlab.datakeen.co/datakeenteam/teamfullstack/client-sessions-react-sdk.git
|
|
245
|
+
- git fetch origin "$CI_COMMIT_BRANCH"
|
|
246
|
+
- git checkout -B "$CI_COMMIT_BRANCH" "origin/$CI_COMMIT_BRANCH"
|
|
241
247
|
- 'npm version prerelease --preid=dev -m "chore(release): %s"'
|
|
242
248
|
- export TARGET_TAG="v$(node -p "require('./package.json').version")"
|
|
243
|
-
- git push -o ci.skip origin
|
|
249
|
+
- git push -o ci.skip origin "$CI_COMMIT_BRANCH"
|
|
244
250
|
- git push -o ci.skip origin --tags
|
|
245
251
|
- git remote add relay "https://oauth2:${RELAY_API_TOKEN}@gitlab.com/datakeen-ci-relay/npm-publish-relay.git" 2>/dev/null || git remote set-url relay "https://oauth2:${RELAY_API_TOKEN}@gitlab.com/datakeen-ci-relay/npm-publish-relay.git"
|
|
246
252
|
- git checkout --orphan "relay-snapshot-${CI_JOB_ID}"
|