Skip to content

Commit

Permalink
CI/CD enginerring
Browse files Browse the repository at this point in the history
  • Loading branch information
DomPeliniAerospike committed Jan 17, 2025
1 parent 4fe41d8 commit 10e1ad1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-install-script-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
node-version: 20

- name: Set version
run: npm version 6.0.3-dev.11 --no-git-tag-version
run: npm version 6.0.3-dev.12 --no-git-tag-version

- name: Change install command for release
run: node ./scripts/change-install-command.js
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
- name: npm install
run: |
npm install [email protected].11
npm install [email protected].12
- name: List available artifacts
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/upload-jfrog-build-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Download Artifacts from Jfrog
run: jf rt dl "clients-${{ env.PACKAGE_MANAGER }}-dev-local/aerospike/${{ env.NEW_VERSION }}/" "downloaded-artifacts/"
env:
NEW_VERSION: 6.0.3-dev.11
NEW_VERSION: 6.0.3-dev.12
PACKAGE_MANAGER: npm

- name: list Artifacts
Expand All @@ -70,10 +70,11 @@ jobs:
- name: change verison
run: |
npm version 6.0.3-dev.11 --no-git-tag-version
npm version 6.0.3-dev.12 --no-git-tag-version
- name: install package
run: |
./scripts/build-c-client.sh;
npm install;
- name: modify install script
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-to-jfrog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ jobs:
# https://github.com/jfrog/jfrog-cli/issues/1775#issuecomment-1348986551
run: jf rt upload --build-name nodejs-client --build-number ${{ env.NEW_VERSION }}/ "artifacts/*" clients-${{ env.PACKAGE_MANAGER }}-dev-local/aerospike/${{ env.NEW_VERSION }}/
env:
NEW_VERSION: 6.0.3-dev.11
NEW_VERSION: 6.0.3-dev.12
PACKAGE_MANAGER: npm

- name: Publish build info
if: ${{ inputs.jfrog-repo-name == vars.JFROG_REPO_NAME }}
run: jf rt build-publish nodejs-client 6.0.3-dev.11
run: jf rt build-publish nodejs-client 6.0.3-dev.12

0 comments on commit 10e1ad1

Please sign in to comment.