@datarailsshared/dr_renderer 1.2.463 → 1.3.16

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.
@@ -1,7 +1,7 @@
1
1
  version: 2.1
2
2
 
3
3
  orbs:
4
- datarails-cicd-orb: datarails/datarails-cicd-orb@dev:primary
4
+ datarails-cicd-orb: datarails-ns/datarails-cicd-orb@dev:primary
5
5
 
6
6
  defaults: &defaults
7
7
  working_directory: ~/repo
@@ -24,7 +24,7 @@ jobs:
24
24
  postfix="-$CIRCLE_BRANCH"
25
25
  fi
26
26
 
27
- VERSION="1.2.$CIRCLE_BUILD_NUM$postfix"
27
+ VERSION="1.3.$CIRCLE_BUILD_NUM$postfix"
28
28
  sed -i s/{{cicd_version}}/$VERSION/g ./package.json
29
29
  cat ./package.json
30
30
  - run:
@@ -40,8 +40,8 @@ jobs:
40
40
  name: Publish package
41
41
  command: npm publish . --access=public
42
42
  - datarails-cicd-orb/add-ssh-id:
43
- private_key_env_var: bitbucket_deploy_private_encoded
44
- public_key_env_var: bitbucket_deploy_pub_encoded
43
+ private_key_env_var: github_deploy_private_encoded
44
+ public_key_env_var: github_deploy_pub_encoded
45
45
  is_public_key_encoded: true
46
46
  is_private_key_encoded: true
47
47
  - run:
@@ -52,14 +52,20 @@ jobs:
52
52
  postfix="-$CIRCLE_BRANCH"
53
53
  fi
54
54
 
55
- VERSION="1.2.$CIRCLE_BUILD_NUM$postfix"
55
+ VERSION="1.3.$CIRCLE_BUILD_NUM$postfix"
56
56
  git config --global user.email noreplay@circleci.com
57
57
  git config --global user.name circleci
58
58
  git config --global -l
59
59
  git tag -a "$CIRCLE_BRANCH/$VERSION" -m "circleci build"
60
- ssh -o "StrictHostKeyChecking no" -T git@bitbucket.org
60
+ # Test SSH connection to GitHub
61
+ output=$(ssh -o "StrictHostKeyChecking no" -T git@github.com 2>&1 || true)
62
+ echo "$output"
63
+ if ! echo "$output" | grep -q "Hi.*You've successfully authenticated"; then
64
+ echo "Failed to authenticate with GitHub"
65
+ exit 1
66
+ fi
67
+ # Push the tag after successful authentication
61
68
  git push --tags origin
62
- echo 555
63
69
  workflows:
64
70
  version: 2
65
71
  npm-publish:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.2.463",
3
+ "version": "1.3.16",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",