Skip to content

Commit 1ce2546

Browse files
Creating new package naming for stagging and prod
1 parent f3d431d commit 1ce2546

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Github Package
44
on:
55
push:
66
tags:
7-
- 'v*.*.*'
7+
["v*.*.*", "v*.*.*-*"]
88
branches:
99
["release-4.*.*", "release-5.*.*", "release-v2.*.*", "master", "development"]
1010
pull_request:
@@ -36,7 +36,7 @@ jobs:
3636
- name: Delete package specific version
3737
uses: smartsquaregmbh/delete-old-packages@v0.4.0
3838
with:
39-
version: 2.1.0 # This should be same as in the pom.xml file,
39+
version: 2.2.0-SNAPSHOT # This should be same as in the pom.xml file,
4040
# to delete only the pom specified version, not the other older versions
4141
names: |
4242
com.uci.utils

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
</parent>
1212
<groupId>com.uci</groupId>
1313
<artifactId>utils</artifactId>
14-
<version>2.1.0</version>
14+
<!--For Development we are using SNAPSHOT with version-->
15+
<version>2.2.0-SNAPSHOT</version>
16+
1517
<!-- On changing, Set version in build-deploy.yml to delete the previous packages if exists and deploy new package for the specified version -->
1618

1719
<name>utils</name>

0 commit comments

Comments
 (0)