-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/372-rewrite
# Conflicts: # code/site/components/com_pages/dispatcher/http.php # code/site/components/com_pages/resources/config/site.php
- Loading branch information
Showing
72 changed files
with
1,547 additions
and
1,097 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
|
||
name: Build package | ||
|
||
on: | ||
repository_dispatch: | ||
|
||
push: | ||
tags: | ||
- v* | ||
branches: # Add your feature branch here if you want a release and package generated for it | ||
- master | ||
- develop | ||
- feature/370-mason | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Inject slug/short variables | ||
uses: rlespinasse/[email protected] | ||
|
||
- name: Figure out tag name (v1.x.y or dev-branch) | ||
id: tagname | ||
run: | | ||
if [[ "${REF:0:1}" == "v" ]]; | ||
then | ||
echo "::set-output name=tag::$REF"; | ||
else | ||
echo "::set-output name=tag::dev-$REF"; | ||
fi; | ||
env: | ||
REF: ${{ env.GITHUB_REF_SLUG }} | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- run: npm i -g @joomlatools/mason | ||
|
||
- run: mason bundle --config.githubToken=${{ secrets.JOOMLATOOLS_BUILDS_GITHUB_TOKEN }} --verbose --debug | ||
|
||
- run: mason buildExtensions --verbose --debug | ||
|
||
- name: Create release | ||
uses: meeDamian/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ steps.tagname.outputs.tag }} | ||
name: ${{ env.GITHUB_REF_SLUG }} | ||
allow_override: true | ||
|
||
- name: Upload package to release | ||
uses: svenstaro/upload-release-action@v1-release | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ steps.tagname.outputs.tag }} | ||
file: ${{ github.workspace }}/com_pages*.zip | ||
file_glob: true | ||
overwrite: true | ||
|
||
# Uncomment this to set up an SSH connection to the workflow | ||
# - name: Setup tmate SSH session | ||
# uses: mxschmitt/action-tmate@v2 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<extension type="component" version="0.17.1" method="upgrade"> | ||
<extension type="component" version="0.18.0-dev" method="upgrade"> | ||
<identifier>com:pages</identifier> | ||
<name>com_pages</name> | ||
<author>Joomlatools</author> | ||
|
@@ -8,7 +8,7 @@ | |
<license>GNU GPLv3 - http://www.gnu.org/licenses/gpl.html</license> | ||
<authorEmail>[email protected]</authorEmail> | ||
<authorUrl>www.joomlatools.com</authorUrl> | ||
<version>0.17.1</version> | ||
<version>0.18.0-dev</version> | ||
<description>COM_PAGES_XML_DESCRIPTION</description> | ||
|
||
<files folder="site/components/com_pages"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.