From b4055370732777c96d8513b92ea0321404268b1e Mon Sep 17 00:00:00 2001 From: Bryce Osterhaus Date: Tue, 8 Oct 2024 09:09:55 +0400 Subject: [PATCH 1/3] fix(alloy-ui): bump yui to patched-v3.20.5 --- third-party/projects/alloy-ui/.alloy.json | 2 +- third-party/projects/alloy-ui/bower.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/third-party/projects/alloy-ui/.alloy.json b/third-party/projects/alloy-ui/.alloy.json index 0e7f0172d..ea468119e 100644 --- a/third-party/projects/alloy-ui/.alloy.json +++ b/third-party/projects/alloy-ui/.alloy.json @@ -1,6 +1,6 @@ { "alloycore": ["aui-base-core"], "alloyregex": "(aui|yui(", - "yuiversion": "patched-v3.20.4", + "yuiversion": "patched-v3.20.5", "version": "3.1.0-deprecated.123" } \ No newline at end of file diff --git a/third-party/projects/alloy-ui/bower.json b/third-party/projects/alloy-ui/bower.json index 5a9023968..696f6c88a 100644 --- a/third-party/projects/alloy-ui/bower.json +++ b/third-party/projects/alloy-ui/bower.json @@ -7,7 +7,7 @@ "keywords": ["alloy", "alloyui", "aui", "yui", "yui3"], "license": "BSD", "dependencies": { - "yui3": "liferay/yui3#patched-v3.20.4" + "yui3": "liferay/yui3#patched-v3.20.5" }, "devDependencies": { "ace-builds": "1.4.6", From 43abc647b54e31de51fd26905d93546a7ada4c97 Mon Sep 17 00:00:00 2001 From: Bryce Osterhaus Date: Tue, 8 Oct 2024 11:23:55 +0400 Subject: [PATCH 2/3] chore: add workflow for triggering AUI releases --- .github/workflows/aui-release-official.yml | 35 +++++++++++++++++++ .github/workflows/aui-release-snapshot.yml | 35 +++++++++++++++++++ .../projects/alloy-ui/settings-example.xml | 15 ++++++++ 3 files changed, 85 insertions(+) create mode 100644 .github/workflows/aui-release-official.yml create mode 100644 .github/workflows/aui-release-snapshot.yml create mode 100644 third-party/projects/alloy-ui/settings-example.xml diff --git a/.github/workflows/aui-release-official.yml b/.github/workflows/aui-release-official.yml new file mode 100644 index 000000000..c50038b34 --- /dev/null +++ b/.github/workflows/aui-release-official.yml @@ -0,0 +1,35 @@ +name: Official AUI release to Maven + +on: workflow_dispatch + +jobs: + aui-release: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [0.12.18] + + steps: + - name: maven-settings-xml-action + uses: s4u/maven-settings-action@v2.3.0 + with: + servers: | + [{ + "id": "liferay-public-releases", + "username": "${{ secrets.MAVEN_USERNAME }}", + "password": "${{ secrets.MAVEN_PASSWORD }}" + }] + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + cache: 'npm' + node-version: ${{ matrix.node-version }} + - run: npm i + working-directory: third-party/projects/alloy-ui + - run: npm i -g gulp@^3.8.5 + - run: gulp init && gulp build + working-directory: third-party/projects/alloy-ui + - run: gulp maven-publish-release + working-directory: third-party/projects/alloy-ui \ No newline at end of file diff --git a/.github/workflows/aui-release-snapshot.yml b/.github/workflows/aui-release-snapshot.yml new file mode 100644 index 000000000..bf7fb14b9 --- /dev/null +++ b/.github/workflows/aui-release-snapshot.yml @@ -0,0 +1,35 @@ +name: Snapshot releast of AUI to maven + +on: workflow_dispatch + +jobs: + aui-snapshot: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [0.12.18] + + steps: + - name: maven-settings-xml-action + uses: s4u/maven-settings-action@v2.3.0 + with: + servers: | + [{ + "id": "liferay-public-snapshots", + "username": "${{ secrets.MAVEN_USERNAME }}", + "password": "${{ secrets.MAVEN_PASSWORD }}" + }] + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + cache: 'npm' + node-version: ${{ matrix.node-version }} + - run: npm i + working-directory: third-party/projects/alloy-ui + - run: npm i -g gulp@^3.8.5 + - run: gulp init && gulp build + working-directory: third-party/projects/alloy-ui + - run: gulp maven-publish-snapshot + working-directory: third-party/projects/alloy-ui \ No newline at end of file diff --git a/third-party/projects/alloy-ui/settings-example.xml b/third-party/projects/alloy-ui/settings-example.xml new file mode 100644 index 000000000..6e1012353 --- /dev/null +++ b/third-party/projects/alloy-ui/settings-example.xml @@ -0,0 +1,15 @@ + + + + liferay-public-snapshots + YOUR_SSO_USERNAME + YOUR_SSO_PASSWORD + + + liferay-public-releases + YOUR_SSO_USERNAME + YOUR_SSO_PASSWORD + + + \ No newline at end of file From 52c44f25ad1a80322bc12339ce2e17b19cb0e59e Mon Sep 17 00:00:00 2001 From: Bryce Osterhaus Date: Tue, 8 Oct 2024 11:24:55 +0400 Subject: [PATCH 3/3] fix(alloy-ui): bump to 3.1.0-deprecated.124 --- third-party/projects/alloy-ui/.alloy.json | 2 +- third-party/projects/alloy-ui/bower.json | 2 +- third-party/projects/alloy-ui/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/third-party/projects/alloy-ui/.alloy.json b/third-party/projects/alloy-ui/.alloy.json index ea468119e..e0d1a7ad0 100644 --- a/third-party/projects/alloy-ui/.alloy.json +++ b/third-party/projects/alloy-ui/.alloy.json @@ -2,5 +2,5 @@ "alloycore": ["aui-base-core"], "alloyregex": "(aui|yui(", "yuiversion": "patched-v3.20.5", - "version": "3.1.0-deprecated.123" + "version": "3.1.0-deprecated.124" } \ No newline at end of file diff --git a/third-party/projects/alloy-ui/bower.json b/third-party/projects/alloy-ui/bower.json index 696f6c88a..f09ddaaab 100644 --- a/third-party/projects/alloy-ui/bower.json +++ b/third-party/projects/alloy-ui/bower.json @@ -1,6 +1,6 @@ { "name": "alloy-ui", - "version": "3.1.0-deprecated.123", + "version": "3.1.0-deprecated.124", "homepage": "http://alloyui.com", "authors": ["Eduardo Lundgren "], "description": "AlloyUI is a framework built on top of YUI3 (JavaScript) that uses Bootstrap (HTML/CSS) to provide a simple API for building high scalable applications", diff --git a/third-party/projects/alloy-ui/package.json b/third-party/projects/alloy-ui/package.json index cf33ef7d0..21c7fd566 100644 --- a/third-party/projects/alloy-ui/package.json +++ b/third-party/projects/alloy-ui/package.json @@ -1,7 +1,7 @@ { "name": "alloy-ui", "description": "AlloyUI", - "version": "3.1.0-deprecated.123", + "version": "3.1.0-deprecated.124", "author": { "name": "Eduardo Lundgren", "email": "eduardo.lundgren@liferay.com",