diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 73beb9f..43ec434 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,8 +4,6 @@ on: push: tags: - '*' - pull_request: - branches: [ main ] jobs: release: @@ -27,6 +25,9 @@ jobs: - name: Run tests run: npm ci && npm test + - name: Set package version + run: npm version ${{ github.ref_name }} --no-git-tag-version + - name: Publish to NPM uses: JS-DevTools/npm-publish@v1 with: diff --git a/package-lock.json b/package-lock.json index 1628356..587d716 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "": { "name": "@sailpoint/connector-sdk", "version": "0.1.0", - "license": "Copyright (c) 2021. SailPoint Technologies, Inc. All rights reserved.", + "license": "Copyright (c) 2023. SailPoint Technologies, Inc. All rights reserved.", "dependencies": { "archiver": "^5.3.1", "express": "^4.17.1", diff --git a/package.json b/package.json index e362873..dc88630 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "@sailpoint/connector-sdk", - "version": "0.0.1", + "version": "0.1.0", "description": "JavaScript framework to build SailPoint Connectors", "author": "SailPoint Technologies, Inc.", - "license": "Copyright (c) 2021. SailPoint Technologies, Inc. All rights reserved.", + "license": "Copyright (c) 2023. SailPoint Technologies, Inc. All rights reserved.", "keywords": [ "sailpoint", "connector"