Skip to content

Commit 0d60a3a

Browse files
authored
Merge pull request #10 from udx/develop-alexey
Develop alexey
2 parents 94909e2 + 57c1721 commit 0d60a3a

File tree

12 files changed

+409
-35
lines changed

12 files changed

+409
-35
lines changed

.github/workflows/publish-release.yml

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,39 @@ on:
77
release:
88
description: 'Release version (e.g. 1.2.3)'
99
required: true
10+
prerelease:
11+
description: 'Pre-release version (e.g. RC1, beta, etc...)'
12+
required: false
1013

1114
permissions:
1215
contents: write
1316

1417
env:
1518
TAG: ${{ github.event.inputs.release }}
19+
PRETAG: ${{ github.event.inputs.prerelease }}
1620
BRANCH: temp-release-${{ github.event.inputs.release }}
1721

1822
jobs:
1923
build:
2024
runs-on: ubuntu-latest
2125
steps:
22-
# ref and repository are required, otherwise repo could appear in detached head state
26+
- name: Prepare vars
27+
id: vars
28+
uses: actions/github-script@v7
29+
with:
30+
script: |
31+
const full_tag = [
32+
process.env.TAG,
33+
process.env.PRETAG
34+
].filter(Boolean).join('-');
35+
const branch = `temp-release-${full_tag}`;
36+
const is_prerelease = !!process.env.PRETAG;
37+
38+
core.setOutput('full_tag', full_tag );
39+
core.setOutput('branch', branch );
40+
core.setOutput('is_prerelease', is_prerelease );
41+
42+
# 'ref' and 'repository' are required, otherwise repo could appear in detached head state
2343
- name: Checkout
2444
uses: actions/checkout@v4
2545
with:
@@ -65,6 +85,7 @@ jobs:
6585
run: |
6686
rm -f composer.lock || true
6787
rm -rf tests || true
88+
rm -rf vendor/bin || true
6889
rm -rf vendor/composer/installers || true
6990
find ./ -name '.git*' -not -path './.git' -type f -delete || true
7091
find ./ -name '.git*' -not -path './.git' -type d -exec rm -rf {} \; || true
@@ -83,8 +104,8 @@ jobs:
83104
uses: EndBug/add-and-commit@v9
84105
with:
85106
message: Cleanup files for release
86-
new_branch: ${{ env.BRANCH }}
87-
tag: ${{ env.TAG }}
107+
new_branch: ${{ steps.vars.outputs.branch }}
108+
tag: ${{ steps.vars.outputs.full_tag }}
88109

89110
# generate SBOM that will be attached to a release as an artifact
90111
- name: Create SBOM
@@ -98,13 +119,13 @@ jobs:
98119
# create a draft release with the version changelog as a description
99120
- name: Create Draft Release
100121
id: draft_release
101-
uses: softprops/action-gh-release@v1
122+
uses: softprops/action-gh-release@v2
102123
with:
103-
name: "Release ${{ env.TAG }}"
124+
name: "Release ${{ steps.vars.outputs.full_tag }}"
104125
body: "${{ steps.changelog.outputs.description }}"
105-
tag_name: ${{ env.TAG }}
126+
tag_name: ${{ steps.vars.outputs.full_tag }}
106127
draft: true
107-
prerelease: false
128+
prerelease: ${{ steps.vars.outputs.is_prerelease }}
108129

109130
# attach SBOM to release
110131
- name: Upload SBOM to release
@@ -128,4 +149,4 @@ jobs:
128149
# delete temporary release branch
129150
- name: Delete temporary release branch
130151
run: |
131-
git push origin --delete ${{ env.BRANCH }}
152+
git push origin --delete ${{ steps.vars.outputs.branch }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ Provides compatibility between the [Elementor Website Builder](https://wordpress
88

99
### Notes
1010

11-
* Tested with Elementor Website Builder plugin version 3.19.2
11+
* Tested with Elementor Website Builder plugin version 3.24.3
1212

1313
### Support, Feedback, & Contribute
1414

15-
We welcome community involvement via the [GitHub repository](https://github.com/udx/wp-stateless-elementor-addon).
15+
We welcome community involvement via the [GitHub repository](https://github.com/udx/wp-stateless-elementor-website-builder-addon).
1616

1717
### Frequently Asked Questions
1818

1919
<details>
2020
<summary>Where can I submit feature requests or bug reports?</summary>
2121

22-
We encourage community feedback and discussion through issues on the [GitHub repository](https://github.com/udx/wp-stateless-elementor-addon/issues).
22+
We encourage community feedback and discussion through issues on the [GitHub repository](https://github.com/udx/wp-stateless-elementor-website-builder-addon/issues).
2323
</details>
2424

2525
<details>

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Thank you for using and contributing to our product. At [UDX](https://udx.io), w
66

77
**Please do not report security vulnerabilities through public GitHub issues.**
88

9-
If you find a security vulnerability, please [submit a vulnerability report](https://github.com/udx/wp-stateless-elementor-addon/security/advisories/new). Provide detailed information about the vulnerability to help us understand and address the issue promptly. We kindly request that you avoid public disclosure until we've had the opportunity to analyze and resolve the reported issue.
9+
If you find a security vulnerability, please [submit a vulnerability report](https://github.com/udx/wp-stateless-elementor-website-builder-addon/security/advisories/new). Provide detailed information about the vulnerability to help us understand and address the issue promptly. We kindly request that you avoid public disclosure until we've had the opportunity to analyze and resolve the reported issue.
1010

1111
## Responsible Disclosure
1212

@@ -18,6 +18,6 @@ Security updates are provided for the latest stable release. Please ensure that
1818

1919
## Contact Information
2020

21-
For security-related matters, please contact our security team at [[email protected]](mailto:[email protected]). For general inquiries, feature requests, and other non-security-related discussions, please use our regular [issue tracker](https://github.com/udx/wp-stateless-elementor-addon/issues).
21+
For security-related matters, please contact our security team at [[email protected]](mailto:[email protected]). For general inquiries, feature requests, and other non-security-related discussions, please use our regular [issue tracker](https://github.com/udx/wp-stateless-elementor-website-builder-addon/issues).
2222

2323
Thank you for helping us ensure the security of WP-Stateless - Elementor Website Builder Addon. Your contributions are greatly appreciated.

changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
== Changelog ==
2+
= 0.0.2 =
3+
* FIX: improved compatibility with Stateless mode.
4+
* FIX: add support for Elementor Pro forms.
5+
* FIX: get the correct list of files for Compatibility Files Sync.
6+
27
= 0.0.1 =
38
* Initial public release.

changes.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
#### 0.0.1
1+
#### 0.0.2
2+
* FIX: improved compatibility with Stateless mode.
3+
* FIX: add support for Elementor Pro forms.
4+
* FIX: get the correct list of files for Compatibility Files Sync.
25

3-
- Initial public release.
6+
#### 0.0.1
7+
* Initial public release.

0 commit comments

Comments
 (0)