Skip to content

Commit ef033d0

Browse files
Update the condition for the get previous release to only be executed when the current workflow for sauron service (#183)
1 parent ade0283 commit ef033d0

File tree

21 files changed

+24
-22
lines changed

21 files changed

+24
-22
lines changed

.github/workflows/release-components.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,11 @@ jobs:
7272
JAVA_HOME: /usr/lib/jvm/java-11-openjdk/
7373

7474
- name: Get previous tag
75-
if: steps.changes.outputs.src == 'true'
75+
if: steps.changes.outputs.src == 'true' && steps.changes.outputs.sauron-service == 'true' && matrix.path == 'sauron-service/'
7676
id: previoustag
77-
uses: WyriHaximus/[email protected]
77+
uses: WyriHaximus/[email protected]
78+
with:
79+
prefix: sauron-service
7880

7981
- name: Github Release
8082
if: steps.changes.outputs.src == 'true' && steps.changes.outputs.sauron-service == 'true' && matrix.path == 'sauron-service/'

plugins/bcrypt-passwordencoder-checker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
<plugin>
228228
<groupId>org.sonatype.plugins</groupId>
229229
<artifactId>nexus-staging-maven-plugin</artifactId>
230-
<version>1.7.0</version>
230+
<version>1.6.8</version>
231231
<extensions>true</extensions>
232232
<configuration>
233233
<serverId>ossrh</serverId>

plugins/cleanup/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
<plugin>
159159
<groupId>org.sonatype.plugins</groupId>
160160
<artifactId>nexus-staging-maven-plugin</artifactId>
161-
<version>1.7.0</version>
161+
<version>1.6.8</version>
162162
<extensions>true</extensions>
163163
<configuration>
164164
<serverId>ossrh</serverId>

plugins/console-output/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
<plugin>
155155
<groupId>org.sonatype.plugins</groupId>
156156
<artifactId>nexus-staging-maven-plugin</artifactId>
157-
<version>1.7.0</version>
157+
<version>1.6.8</version>
158158
<extensions>true</extensions>
159159
<configuration>
160160
<serverId>ossrh</serverId>

plugins/data-sanitizer/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
<plugin>
155155
<groupId>org.sonatype.plugins</groupId>
156156
<artifactId>nexus-staging-maven-plugin</artifactId>
157-
<version>1.7.0</version>
157+
<version>1.6.8</version>
158158
<extensions>true</extensions>
159159
<configuration>
160160
<serverId>ossrh</serverId>

plugins/dependencytrack-publisher/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
<plugin>
181181
<groupId>org.sonatype.plugins</groupId>
182182
<artifactId>nexus-staging-maven-plugin</artifactId>
183-
<version>1.7.0</version>
183+
<version>1.6.8</version>
184184
<extensions>true</extensions>
185185
<configuration>
186186
<serverId>ossrh</serverId>

plugins/elasticsearch-output/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
<plugin>
208208
<groupId>org.sonatype.plugins</groupId>
209209
<artifactId>nexus-staging-maven-plugin</artifactId>
210-
<version>1.7.0</version>
210+
<version>1.6.8</version>
211211
<extensions>true</extensions>
212212
<configuration>
213213
<serverId>ossrh</serverId>

plugins/git-checkout/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
<plugin>
167167
<groupId>org.sonatype.plugins</groupId>
168168
<artifactId>nexus-staging-maven-plugin</artifactId>
169-
<version>1.7.0</version>
169+
<version>1.6.8</version>
170170
<extensions>true</extensions>
171171
<configuration>
172172
<serverId>ossrh</serverId>

plugins/jaegerapi-report/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
<plugin>
212212
<groupId>org.sonatype.plugins</groupId>
213213
<artifactId>nexus-staging-maven-plugin</artifactId>
214-
<version>1.7.0</version>
214+
<version>1.6.8</version>
215215
<extensions>true</extensions>
216216
<configuration>
217217
<serverId>ossrh</serverId>

plugins/kubernetesapi-report/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
<plugin>
178178
<groupId>org.sonatype.plugins</groupId>
179179
<artifactId>nexus-staging-maven-plugin</artifactId>
180-
<version>1.7.0</version>
180+
<version>1.6.8</version>
181181
<extensions>true</extensions>
182182
<configuration>
183183
<serverId>ossrh</serverId>

0 commit comments

Comments
 (0)