Skip to content

Commit

Permalink
fix: release name fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ennioVisco committed Feb 14, 2024
1 parent c41b8d5 commit d397980
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
configurationFile: 'build-logic/releases/.nyx.json'
resume: 'true'

publish-version:
publish-jvm:
if: needs.infer-version.outputs.newRelease == 'true' || needs.infer-version.outputs.newVersion == 'true'
name: Publish new release on Github & Maven Central
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,6 +70,7 @@ jobs:
resume: 'true'

publish-python:
if: needs.infer-version.outputs.newRelease == 'true' || needs.infer-version.outputs.newVersion == 'true'
name: Publish new release on PyPI
runs-on: ubuntu-latest
needs: infer-version
Expand Down Expand Up @@ -113,7 +114,7 @@ jobs:
if: github.ref_name == 'master'
name: Update README.md
runs-on: ubuntu-latest
needs: [ publish-version, infer-version ]
needs: [ publish-jvm, infer-version ]
steps:
- uses: actions/checkout@v3
- name: Find and Replace
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ It requires Java 21+ in the running environment
To use it as a maven package, just include the following line in your `build.gradle.kts`:

```kts
implementation("io.github.moonlightsuite:moonlight-engine:v0.3.0")
implementation("io.github.moonlightsuite:moonlight-engine:0.3.0")
```

Check on [Maven Central](https://central.sonatype.com/artifact/io.github.moonlightsuite/moonlight-engine/) for alternative build tools (
Expand Down
6 changes: 3 additions & 3 deletions build-logic/releases/.nyx.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
},
"initialVersion": "0.2.0",
"releasePrefix": "v",
"releasePrefix": "",
"releaseTypes": {
"enabled": [
"mainline",
Expand All @@ -41,10 +41,10 @@
"collapseVersions": false,
"filterTags": "^({{configuration.releasePrefix}})?([0-9]\\d*)\\.([0-9]\\d*)\\.([0-9]\\d*)$",
"gitCommit": "false",
"gitCommitMessage": "Release version {{version}}",
"gitCommitMessage": "Release version v.{{version}}",
"gitPush": "true",
"gitTag": "true",
"gitTagMessage": "Tag version {{version}}",
"gitTagMessage": "Tag version v.{{version}}",
"matchBranches": "^(master|main)$",
"matchEnvironmentVariables": {
"CI": "^true$"
Expand Down

0 comments on commit d397980

Please sign in to comment.