Skip to content

Commit

Permalink
fix: more changes (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding authored Jul 11, 2024
1 parent 6e63f8d commit 2736bce
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,10 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Nodejs
uses: actions/setup-node@v3
uses: actions/checkout@v4
with:
node-version: "20"
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Retrieve Credentials
id: import-secrets
Expand All @@ -176,6 +174,11 @@ jobs:
secretId: ${{ secrets.VAULT_SECRET_ID }}
secrets: /providers/github/organizations/spectrocloud/token?org_name=spectrocloud token | VAULT_GITHUB_TOKEN

- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: "20"

- name: Install dependencies
run: npm ci

Expand Down
25 changes: 9 additions & 16 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
branches: [main]
repositoryUrl: https://github.com/spectrocloud/hello-universe
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- - "@semantic-release/exec"
- analyzeCommitsCmd: echo 'NEW_VERSION=false' > VERSION.env
verifyReleaseCmd: |-
echo 'export VERSION=${nextRelease.version}
NEW_VERSION=true' > VERSION.env
- - "@semantic-release/github"
- assets:
- "*.zip"
- - "@semantic-release/git"
- assets:
- CHANGELOG.md
- - "@semantic-release/npm"
- npmPublish: true
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- - "@semantic-release/exec"
- analyzeCommitsCmd: echo 'NEW_VERSION=false' > VERSION.env
verifyReleaseCmd: |-
echo 'export VERSION=${nextRelease.version}
NEW_VERSION=true' > VERSION.env
- - "@semantic-release/github"

0 comments on commit 2736bce

Please sign in to comment.