Skip to content

Commit

Permalink
staterecovery: github release fix (#578)
Browse files Browse the repository at this point in the history
* staterecovery: githiub release try fix
  • Loading branch information
jpnovais authored Jan 21, 2025
1 parent 1f8647e commit 39679c7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/reuse-github-release-besu-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ jobs:
GRAGLE_PATH=:$(echo "${{inputs.workspaceModulePath}}" | sed 's/\//:/g')
echo $GRAGLE_PATH
./gradlew $GRAGLE_PATH:shadowJar -Pversion=v${{inputs.version}}
ls -lh ${{inputs.workspaceModulePath}}/build/libs
- name: Release to GitHub
uses: jreleaser/release-action@v2
with:
arguments: full-release --git-root-search --basedir=${{ github.workspace }}/${{inputs.workspaceModulePath}}
arguments: full-release --git-root-search --basedir=${{ github.workspace }}/${{inputs.workspaceModulePath}} -P=version=v${{inputs.version}}
env:
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN_RELEASE_ACCESS }}
JRELEASER_TAG_NAME: ${{inputs.pluginName}}-v${{inputs.version}}
Expand Down
4 changes: 2 additions & 2 deletions docker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,8 @@ services:
- ./config/zkbesu-shomei/zkbesu-config.toml:/var/lib/besu/zkbesu-config.toml:ro
- ./config/zkbesu-shomei/log4j-staterecovery.xml:/var/lib/besu/log4j.xml:ro
- ./config/linea-local-dev-genesis-PoA-besu.json/:/var/lib/besu/genesis.json:ro
- ../state-recovery/besu-plugin/build/libs/linea-staterecovery-plugin-0.0.1-rc2.jar:/opt/besu/lib/linea-staterecovery-plugin-0.0.1-rc2.jar
- ../state-recovery/besu-plugin/build/libs/linea-staterecovery-plugin-0.0.1-rc2.jar:/opt/besu/plugins/linea-staterecovery-plugin-0.0.1-rc2.jar
- ../state-recovery/besu-plugin/build/libs/linea-staterecovery-besu-plugin-SNAPSHOT.jar:/opt/besu/lib/linea-staterecovery-besu-plugin-SNAPSHOT.jar
- ../state-recovery/besu-plugin/build/libs/linea-staterecovery-besu-plugin-SNAPSHOT.jar:/opt/besu/plugins/linea-staterecovery-besu-plugin-SNAPSHOT.jar

shomei-sr:
image: consensys/linea-shomei:2.3.0
Expand Down
5 changes: 3 additions & 2 deletions state-recovery/besu-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ plugins {
}

group = 'build.linea.staterecovery'
archivesBaseName = 'linea-staterecovery-plugin'
version = '0.0.1-rc2'
archivesBaseName = 'linea-staterecovery-besu-plugin'

dependencies {
compileOnly("info.picocli:picocli:${libs.versions.picoli.get()}") {
Expand Down Expand Up @@ -53,6 +52,8 @@ shadowJar {
if ("${project.version}" != 'unspecified') {
archiveClassifier.set('')
archiveVersion.set("${project.version}")
} else {
archiveClassifier.set('SNAPSHOT')
}

dependencies {
Expand Down
6 changes: 3 additions & 3 deletions state-recovery/besu-plugin/jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ project:
java:
version: '21'
groupId: build.linea
artifactId: staterecovery-besu-plugin
artifactId: linea-staterecovery-besu-plugin

release:
github:
overwrite: true
releaseName: 'State Recovery'
releaseName: 'State Recovery {{version}}'
changelog:
enabled: false
commitAuthor:
Expand All @@ -28,4 +28,4 @@ distributions:
staterecovery:
type: SINGLE_JAR
artifacts:
- path: 'build/libs/{{tagName}}.jar'
- path: 'build/libs/linea-staterecovery-besu-plugin-{{version}}.jar'

0 comments on commit 39679c7

Please sign in to comment.