Skip to content

Commit

Permalink
build: No longer have a latest_build zip but just have the project ve…
Browse files Browse the repository at this point in the history
…rsion in the zip name like "0.0.2-SNAPSHOT"
  • Loading branch information
jagodevreede committed Jul 9, 2024
1 parent 3a1952a commit cb18a21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ distributions:
sdkman-ui:
type: NATIVE_PACKAGE
artifacts:
- path: '{{artifactsDir}}/sdkman-ui-windows_x86_64-latest_build.zip'
- path: '{{artifactsDir}}/sdkman-ui-windows_x86_64-{{projectVersion}}.zip'
platform: 'windows-x86_64'
3 changes: 1 addition & 2 deletions sdkman-ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<attach.version>4.0.19</attach.version>
<native.maven.plugin.version>0.10.1</native.maven.plugin.version>
<main.class>io.github.jagodevreede.sdkmanui.Main</main.class>
<releaseName>latest_build</releaseName>
</properties>

<dependencies>
Expand Down Expand Up @@ -136,7 +135,7 @@
<execution>
<id>assemble-windows</id>
<configuration>
<finalName>sdkman-ui-windows_x86_64-${releaseName}</finalName>
<finalName>sdkman-ui-windows_x86_64-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/zip-windows.xml</descriptor>
Expand Down

0 comments on commit cb18a21

Please sign in to comment.