Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Commit

Permalink
Releasing 1.0.2 into master (#34)
Browse files Browse the repository at this point in the history
* badge

* composer

* Update release-drafter.yml

* Update bundler.yml

* Setting release dependencies

Co-authored-by: Imants Horsts <[email protected]>
Co-authored-by: GitHub Web Flow <[email protected]>
  • Loading branch information
3 people authored Feb 11, 2020
1 parent bbba8f4 commit 0814c0e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,25 @@ jobs:
- run: echo ${{ github.ref }}
- name: Update to stable dependencies
run: |
jq 'del(.require["atk4/data"])|del(.require["atk4/schema"])' < composer.json > tmp && mv tmp composer.json
composer require atk4/data atk4/schema
composer update
# replaces X keys with X-release keys
jq '. as $in | reduce (keys_unsorted[] | select(endswith("-release")|not)) as $k ({}; . + {($k) : (($k + "-release") as $kr | $in | if has($kr) then .[$kr] else .[$k] end) } )' < composer.json > tmp && mv tmp composer.json
v=$(echo ${{ github.ref }} | cut -d / -f 4)
echo "::set-env name=version::$v"
- uses: teaminkling/autocommit@master
with:
commit-message: Setting current dependencies
commit-message: Setting release dependencies
- uses: ad-m/github-push-action@master
with:
branch: ${{ github.ref }}
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: pull-request
uses: repo-sync/pull-request@v2
uses: romaninsh/pull-request@master
with:
source_branch: "" # If blank, default: triggered branch
source_branch: "release/${{ env.version }}"
destination_branch: "master" # If blank, default: master
pr_title: "Releasing ${{ github.ref }} into master"
pr_title: "Releasing ${{ env.version }} into master"
pr_body: |
- [ ] Review changes (must include stable dependencies)
- [ ] Merge this PR into master (will delete ${{ github.ref }})
Expand All @@ -40,4 +41,3 @@ jobs:
pr_reviewer: "romaninsh"
pr_assignee: "romaninsh"
github_token: ${{ secrets.GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: toolmantim/release-drafter@v5.2.0
- uses: toolmantim/release-drafter@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Agile Data - Reportig Add-on
# Agile Data - Reporting Add-on

![Build](https://github.com/atk4/report/workflows/Unit%20Testing/badge.svg)

This extension for Agile Data implements advanced reporting capabilities:

Expand Down Expand Up @@ -82,4 +84,4 @@ https://github.com/atk4/report/blob/develop/docs/index.md

Implementation is complete, but a better documentation and more examples needed. Also some cleanups in the code are welcome!

## License: MIT
## License: MIT
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"crud"
],
"homepage": "http://agiletoolkit.org/data/extension/report",
"license": "Commercial",
"license": "mit",
"authors": [
{
"name": "Romans Malinovskis",
Expand Down

0 comments on commit 0814c0e

Please sign in to comment.