File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11merge :
22 script : |
3- apt-get install -y rpm
43 mvn clean install
54
65release :
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ script:
1515 - mvn verify
1616 - mvn compile jacoco:report
1717 - mvn docker:build
18+ - mvn rpm:rpm
1819
1920before_install :
2021 - sudo apt-get install -y rpm
@@ -34,7 +35,7 @@ deploy:
3435 api_key : $GITHUB_TOKEN
3536 file :
3637 - target/sql-boot.zip
37- - target/rpm/sql-boot/RPMS/noarch/sql-boot-0.3.0-SNAPSHOT20190608181116 .noarch.rpm
38+ - target/rpm/sql-boot/RPMS/noarch/sql-boot-0.3.0-1 .noarch.rpm
3839 skip_cleanup : true
3940 name : v0.3.0
4041 overwrite : true
Original file line number Diff line number Diff line change 3030
3131 <groupId >com.github.mgramin.com.github.mgramin.sqlboot</groupId >
3232 <artifactId >sql-boot</artifactId >
33- <version >0.3.0-SNAPSHOT </version >
33+ <version >0.3.0</version >
3434 <packaging >jar</packaging >
3535
3636 <name >sql-boot</name >
500500 <groupId >org.codehaus.mojo</groupId >
501501 <artifactId >rpm-maven-plugin</artifactId >
502502 <version >2.2.0</version >
503- <executions >
504- <execution >
505- <id >generate-rpm</id >
506- <goals >
507- <goal >rpm</goal >
508- </goals >
509- </execution >
510- </executions >
503+ <!-- <executions> -- >
504+ <!-- <execution> -- >
505+ <!-- <id>generate-rpm</id> -- >
506+ <!-- <goals> -- >
507+ <!-- <goal>rpm</goal> -- >
508+ <!-- </goals> -- >
509+ <!-- </execution> -- >
510+ <!-- </executions> -- >
511511 <configuration >
512+ <release >1</release >
512513 <license >GPL (c) 2005, SWWDC</license >
513514 <distribution >Trash 2005</distribution >
514515 <group >Application/Collectors</group >
527528 <groupname >sql-boot-group</groupname >
528529 <sources >
529530 <source >
530- <location >target/sql-boot-0.3.0-SNAPSHOT.jar</location >
531+ <location >target/sql-boot-0.3.0.jar</location >
532+ <destination >sql-boot.jar</destination >
531533 </source >
532534 </sources >
533535 </mapping >
Original file line number Diff line number Diff line change 3232 <includeBaseDirectory >false</includeBaseDirectory >
3333 <files >
3434 <file >
35- <source >target/sql-boot-0.3.0-SNAPSHOT .jar</source >
35+ <source >target/sql-boot-0.3.0.jar</source >
3636 <destName >sql-boot.jar</destName >
3737 <fileMode >0764</fileMode >
3838 </file >
You can’t perform that action at this time.
0 commit comments