Skip to content

Commit

Permalink
Merge pull request #8 from hirosystems/beta
Browse files Browse the repository at this point in the history
fix: release CI step for main & beta branches
  • Loading branch information
zone117x authored Oct 25, 2024
2 parents f46536e + 9f1c1a2 commit 9fe00ab
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# Only push if (there's a new release on main branch, or if building a non-main branch) and (Only run on non-PR events or only PRs that aren't from forks)
push: ${{ (github.ref != 'refs/heads/master' || steps.semantic.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
push: ${{ (github.ref != 'refs/heads/main' || steps.semantic.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
27 changes: 27 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"branches": [
"main",
{
"name": "beta",
"channel": "beta",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/github",
"@semantic-release/changelog",
"@semantic-release/git"
]
}
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## [0.1.0-beta.1](https://github.com/hirosystems/signer-metrics-api/compare/v0.0.1...v0.1.0-beta.1) (2024-10-25)


### Features

* add cycle signer id endpoint ([#2](https://github.com/hirosystems/signer-metrics-api/issues/2)) ([a5d5455](https://github.com/hirosystems/signer-metrics-api/commit/a5d545576fdb60d0c684c114208a5a2cccf5dcc8))
* blocks endpoint ([29d1666](https://github.com/hirosystems/signer-metrics-api/commit/29d16664bea16d827d04373cbd5bb3b0dd620393))
* fetch pox constants from stacks-core /v2/pox and store in pg for cycle calculations ([032e33d](https://github.com/hirosystems/signer-metrics-api/commit/032e33da925c13ededf7ba6f0ac1ed4735738658))


### Bug Fixes

* bad hex encode in sql ([3c90815](https://github.com/hirosystems/signer-metrics-api/commit/3c908159ba011a7858829f313e7e847f512182ee))
* bad string number concat ([8df7f1b](https://github.com/hirosystems/signer-metrics-api/commit/8df7f1baa4b33be69e9c36392fd209cd5f049785))

0 comments on commit 9fe00ab

Please sign in to comment.