Skip to content

Commit

Permalink
fix: reverting previous dependency update chnages
Browse files Browse the repository at this point in the history
dependency: none
  • Loading branch information
jkalandaibm committed Jun 28, 2024
1 parent 0a1223a commit a1925bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/exec",
"@semantic-release/exec",
{
"prepareCmd": "bump2version --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
}
],
[
"@semantic-release/git",
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version} release notes [skip ci]\n\n${nextRelease.notes}"
"assets": ["package.json", "common/version.go", "README.md", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
Expand Down
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ before_deploy:
- npm install @semantic-release/git
- npm install @semantic-release/github
- pip install bump2version

- echo "Checking the contents of comcd mon/version.go to ensure version string exists:"
- cat common/version.go
- grep 'const Version = "0.47.1"' common/version.go || (echo "Version string not found in common/version.go" && exit 1)
- echo "All pre-deploy checks passed. Proceeding with deployment..."


deploy:
- provider: script
script: npx semantic-release
Expand Down

0 comments on commit a1925bb

Please sign in to comment.