Skip to content

Commit 20fedb3

Browse files
committed
Bump version to 0.4.2
1 parent ad2d301 commit 20fedb3

File tree

25 files changed

+41
-37
lines changed

25 files changed

+41
-37
lines changed

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.optum.sourcehawk</groupId>
1010
<artifactId>sourcehawk</artifactId>
11-
<version>0.4.1-SNAPSHOT</version>
11+
<version>0.4.2-SNAPSHOT</version>
1212
</parent>
1313

1414
<artifactId>sourcehawk-bom</artifactId>

configuration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.optum.sourcehawk</groupId>
1010
<artifactId>sourcehawk</artifactId>
11-
<version>0.4.1-SNAPSHOT</version>
11+
<version>0.4.2-SNAPSHOT</version>
1212
</parent>
1313

1414
<artifactId>sourcehawk-configuration</artifactId>

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.optum.sourcehawk</groupId>
1010
<artifactId>sourcehawk</artifactId>
11-
<version>0.4.1-SNAPSHOT</version>
11+
<version>0.4.2-SNAPSHOT</version>
1212
<relativePath>../pom.xml</relativePath>
1313
</parent>
1414

distributions/debian/pom.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.optum.sourcehawk</groupId>
1010
<artifactId>sourcehawk-dist</artifactId>
11-
<version>0.4.1-SNAPSHOT</version>
11+
<version>0.4.2-SNAPSHOT</version>
1212
<relativePath>../pom.xml</relativePath>
1313
</parent>
1414

@@ -20,7 +20,8 @@
2020
<properties>
2121
<debian.build.directory>${project.build.directory}/debian</debian.build.directory>
2222
<debian.package>${bintray.package}</debian.package>
23-
<debian.package.version>${project.version}~${git.commit.time}+${git.commit.id.abbrev}</debian.package.version>
23+
<debian.package.version>${project.version}</debian.package.version>
24+
<debian.package.version.suffix>~${git.commit.time}+${git.commit.id.abbrev}</debian.package.version.suffix>
2425
<debian.architecture>amd64</debian.architecture>
2526
</properties>
2627

@@ -288,7 +289,7 @@
288289
</property>
289290
</activation>
290291
<properties>
291-
<debian.package.version>${project.version}</debian.package.version>
292+
<debian.package.version.suffix/> <!-- No suffix required on releases -->
292293
</properties>
293294
</profile>
294295
<profile>
@@ -319,9 +320,6 @@
319320
<name>ci.deploy</name>
320321
</property>
321322
</activation>
322-
<properties>
323-
<debian.package.version>${project.version}</debian.package.version>
324-
</properties>
325323
<build>
326324
<plugins>
327325
<plugin>
@@ -331,7 +329,7 @@
331329
<environmentVariables>
332330
<BINTRAY_ORGANIZATION>${bintray.organization}</BINTRAY_ORGANIZATION>
333331
<BINTRAY_PACKAGE>${debian.package}</BINTRAY_PACKAGE>
334-
<PACKAGE_VERSION>${debian.package.version}</PACKAGE_VERSION>
332+
<PACKAGE_VERSION>${debian.package.version}${debian.package.version.suffix}</PACKAGE_VERSION>
335333
<BINTRAY_ARCHITECTURES>${debian.architecture},i386,x86_64</BINTRAY_ARCHITECTURES>
336334
</environmentVariables>
337335
</configuration>

distributions/debian/scripts/publish-package-version-to-bintray.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ BINTRAY_API_URL="https://api.bintray.com"
2929
BINTRAY_COMPONENT="main"
3030
BINTRAY_PACKAGE_VERSION="${PACKAGE_VERSION//"-SNAPSHOT"/}" # Remove "-SNAPSHOT" from Package Version
3131
BINTRAY_PACKAGE_BASE_VERSION="$(echo "$BINTRAY_PACKAGE_VERSION" | cut -f1 -d'~')"
32-
BINTRAY_PRIMARY_ARCHITECTURE=$(echo "$BINTRAY_ARCHITECTURES" | cut -d',' -f1)
32+
BINTRAY_PRIMARY_DISTRIBUTION="$(echo "$BINTRAY_DISTRIBUTIONS" | cut -d ',' -f1)"
33+
BINTRAY_PRIMARY_ARCHITECTURE="$(echo "$BINTRAY_ARCHITECTURES" | cut -d',' -f1)"
3334

3435
# Construct the upload path
3536
BINTRAY_UPLOAD_PATH="pool/$BINTRAY_COMPONENT/$(echo "$BINTRAY_PACKAGE" | cut -c1-1)/$BINTRAY_PACKAGE_BASE_VERSION/$BINTRAY_PACKAGE-$BINTRAY_REPOSITORY-$BINTRAY_PACKAGE_VERSION-$BINTRAY_PRIMARY_ARCHITECTURE.deb"
3637
if [[ "$BINTRAY_REPOSITORY" == "dev-snapshots" ]]; then
37-
BINTRAY_UPLOAD_PATH="$BINTRAY_PACKAGE_BASE_VERSION/$BINTRAY_PACKAGE-$BINTRAY_PACKAGE_VERSION-$BINTRAY_RELEASE_REPOSITORY-$BINTRAY_PRIMARY_ARCHITECTURE.deb"
38+
BINTRAY_UPLOAD_PATH="$BINTRAY_PACKAGE_BASE_VERSION/$BINTRAY_PACKAGE-$BINTRAY_PACKAGE_VERSION-$BINTRAY_RELEASE_REPOSITORY-$BINTRAY_PRIMARY_DISTRIBUTION-$BINTRAY_PRIMARY_ARCHITECTURE.deb"
3839
fi
3940
BINTRAY_UPLOAD_PATH="${BINTRAY_UPLOAD_PATH//"-SNAPSHOT"/}" # Remove "-SNAPSHOT" from Upload Path
4041

distributions/debian/src/main/resources/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: ${debian.package}
2-
Version: ${debian.package.version}
2+
Version: ${debian.package.version}${debian.package.version.suffix}
33
Section: utils
44
Architecture: ${debian.architecture}
55
Priority: optional

distributions/docker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.optum.sourcehawk</groupId>
1010
<artifactId>sourcehawk-dist</artifactId>
11-
<version>0.4.1-SNAPSHOT</version>
11+
<version>0.4.2-SNAPSHOT</version>
1212
<relativePath>../pom.xml</relativePath>
1313
</parent>
1414

distributions/linux/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.optum.sourcehawk</groupId>
1010
<artifactId>sourcehawk-dist</artifactId>
11-
<version>0.4.1-SNAPSHOT</version>
11+
<version>0.4.2-SNAPSHOT</version>
1212
<relativePath>../pom.xml</relativePath>
1313
</parent>
1414

distributions/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>com.optum.sourcehawk</groupId>
1010
<artifactId>sourcehawk</artifactId>
11-
<version>0.4.1-SNAPSHOT</version>
11+
<version>0.4.2-SNAPSHOT</version>
1212
<relativePath>../pom.xml</relativePath>
1313
</parent>
1414

distributions/rpm/pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<artifactId>sourcehawk-dist</artifactId>
1010
<groupId>com.optum.sourcehawk</groupId>
11-
<version>0.4.1-SNAPSHOT</version>
11+
<version>0.4.2-SNAPSHOT</version>
1212
</parent>
1313

1414
<artifactId>sourcehawk-dist-rpm</artifactId>
@@ -432,7 +432,6 @@
432432
<configuration>
433433
<environmentVariables combine.children="append">
434434
<BINTRAY_REPOSITORY_OVERRIDE>dev-snapshots</BINTRAY_REPOSITORY_OVERRIDE>
435-
<BINTRAY_UPLOAD_PATH>${rpm.package.architecture}/${rpm.package.version}/${rpm.package}-${rpm.package.version}-${rpm.package.release}.${rpm.package.architecture}.rpm</BINTRAY_UPLOAD_PATH>
436435
</environmentVariables>
437436
</configuration>
438437
</plugin>
@@ -472,6 +471,7 @@
472471
<environmentVariables combine.children="append">
473472
<PACKAGE_FILE_PATH>${project.build.directory}/${rpm.package}-centos-7.rpm</PACKAGE_FILE_PATH>
474473
<BINTRAY_REPOSITORY>centos</BINTRAY_REPOSITORY>
474+
<BINTRAY_DISTRIBUTION>el7</BINTRAY_DISTRIBUTION>
475475
</environmentVariables>
476476
</configuration>
477477
</execution>
@@ -486,6 +486,7 @@
486486
<environmentVariables combine.children="append">
487487
<PACKAGE_FILE_PATH>${project.build.directory}/${rpm.package}-centos-8.rpm</PACKAGE_FILE_PATH>
488488
<BINTRAY_REPOSITORY>centos</BINTRAY_REPOSITORY>
489+
<BINTRAY_DISTRIBUTION>el8</BINTRAY_DISTRIBUTION>
489490
</environmentVariables>
490491
</configuration>
491492
</execution>
@@ -500,6 +501,7 @@
500501
<environmentVariables combine.children="append">
501502
<PACKAGE_FILE_PATH>${project.build.directory}/${rpm.package}-fedora-32.rpm</PACKAGE_FILE_PATH>
502503
<BINTRAY_REPOSITORY>fedora</BINTRAY_REPOSITORY>
504+
<BINTRAY_DISTRIBUTION>fc32</BINTRAY_DISTRIBUTION>
503505
</environmentVariables>
504506
</configuration>
505507
</execution>
@@ -514,6 +516,7 @@
514516
<environmentVariables combine.children="append">
515517
<PACKAGE_FILE_PATH>${project.build.directory}/${rpm.package}-fedora-33.rpm</PACKAGE_FILE_PATH>
516518
<BINTRAY_REPOSITORY>fedora</BINTRAY_REPOSITORY>
519+
<BINTRAY_DISTRIBUTION>fc33</BINTRAY_DISTRIBUTION>
517520
</environmentVariables>
518521
</configuration>
519522
</execution>
@@ -528,6 +531,7 @@
528531
<environmentVariables combine.children="append">
529532
<PACKAGE_FILE_PATH>${project.build.directory}/${rpm.package}-fedora-34.rpm</PACKAGE_FILE_PATH>
530533
<BINTRAY_REPOSITORY>fedora</BINTRAY_REPOSITORY>
534+
<BINTRAY_DISTRIBUTION>fc34</BINTRAY_DISTRIBUTION>
531535
</environmentVariables>
532536
</configuration>
533537
</execution>

0 commit comments

Comments
 (0)