Skip to content

Commit

Permalink
Creating new package naming for stagging and prod
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajjangid05 committed May 3, 2023
1 parent 5a153da commit 49a6622
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Github Package
on:
push:
tags:
- 'v*.*.*'
["v*.*.*", "v*.*.*-*"]
branches:
["release-4.*.*", "release-5.*.*", "release-v2.*.*", "master", "development"]
pull_request:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Delete package specific version
uses: smartsquaregmbh/delete-old-packages@v0.4.0
with:
version: 2.1.0 # This should be same as in the pom.xml file,
version: 2.2.0-SNAPSHOT # This should be same as in the pom.xml file,
# to delete only the pom specified version, not the other older versions
names: |
com.uci.dao
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<name>dao</name>
<description>dao</description>
<packaging>jar</packaging>
<version>2.1.0</version>
<version>2.2.0-SNAPSHOT</version>
<!-- On changing, Set version in deploy.xml to delete the previous packages if exists and deploy new package for the specified version -->

<parent>
Expand Down Expand Up @@ -99,13 +99,13 @@
<dependency>
<groupId>com.uci</groupId>
<artifactId>message-rosa</artifactId>
<version>2.1.0</version>
<version>2.2.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.uci</groupId>
<artifactId>utils</artifactId>
<version>2.1.0</version>
<version>2.2.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>

Expand Down

0 comments on commit 49a6622

Please sign in to comment.