Skip to content

Commit

Permalink
SUPINT-2380: set version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Jun 17, 2024
1 parent 70d8da8 commit 4fc07d4
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ jobs:
working-directory: nuxeo-admin-console-package/target
env:
CONNECT_PREPROD_URL: https://nos-preprod-connect.nuxeocloud.com/nuxeo
run: curl -i -u "${{ secrets.CONNECT_PREPROD_AUTH }}" -F [email protected].1-SNAPSHOT.zip "$CONNECT_PREPROD_URL/site/marketplace/upload?batch=true"
run: curl -i -u "${{ secrets.CONNECT_PREPROD_AUTH }}" -F [email protected].0-SNAPSHOT.zip "$CONNECT_PREPROD_URL/site/marketplace/upload?batch=true"
31 changes: 31 additions & 0 deletions .github/workflows/delete.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Delete PreProd

on:
workflow_dispatch:
inputs:
version:
description: 'Version to be used'
required: true
pull_request:
types: [opened, synchronize]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Use input version
if: github.event_name == 'workflow_dispatch'
run: |
echo "Version: ${{ github.event.inputs.version }}"
- name: PR Version Placeholder
if: github.event_name == 'pull_request'
run: echo "This is a PR. You can set up version handling for PRs here."

- name: Delete test promoted Admin Console to Connect PREPROD
if: github.event_name == 'workflow_dispatch'
env:
CONNECT_PREPROD_URL: https://nos-preprod-connect.nuxeocloud.com/nuxeo
run: curl -i -u "${{ secrets.CONNECT_PREPROD_AUTH }}" -X DELETE "$CONNECT_PREPROD_URL/site/marketplace/delete/nuxeo-admin-console-ui-package-${{ github.event.inputs.version }}"

4 changes: 2 additions & 2 deletions nuxeo-admin-console-package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<parent>
<groupId>org.nuxeo.admin.console</groupId>
<artifactId>admin-console</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>nuxeo-admin-console-package</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<packaging>zip</packaging>
<name>Nuxeo admin console package - Admin console package</name>

Expand Down
4 changes: 2 additions & 2 deletions nuxeo-admin-console-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<parent>
<groupId>org.nuxeo.admin.console</groupId>
<artifactId>admin-console</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>nuxeo-admin-console-web</artifactId>
<name>Admin console</name>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<description />

<properties>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>org.nuxeo.admin.console</groupId>
<artifactId>admin-console</artifactId>
<version>1.0.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
<name>Admin console</name>
<description>admin-console</description>
<packaging>pom</packaging>
Expand Down

0 comments on commit 4fc07d4

Please sign in to comment.