Skip to content

Commit 2980288

Browse files
committed
340
1 parent 26d59e6 commit 2980288

4 files changed

Lines changed: 15 additions & 13 deletions

File tree

.rultor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
merge:
22
script: |
3-
apt-get install -y rpm
43
mvn clean install
54
65
release:

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ script:
1515
- mvn verify
1616
- mvn compile jacoco:report
1717
- mvn docker:build
18+
- mvn rpm:rpm
1819

1920
before_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

pom.xml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
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>
@@ -500,15 +500,16 @@
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>
@@ -527,7 +528,8 @@
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>

src/main/assembly/assembly.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
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>

0 commit comments

Comments
 (0)