Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
luongvo committed Nov 3, 2023
1 parent b063178 commit 4580249
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/android_deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- test-lucas

jobs:
build_and_deploy_android:
Expand All @@ -15,13 +16,21 @@ jobs:
- name: Check out
uses: actions/checkout@v3

- name: Find HEAD commit
id: head
run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

- name: Build changelog on "main"
id: changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
configuration: ".github/workflows/configuration.json"
configuration: ".github/workflows/changelog-config.json"
# Listing PRs from the last tag to the HEAD commit
toTag: ${{ steps.head.outputs.sha }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Print release notes
run: |
echo ${{ steps.changelog.outputs.changelog }}
echo categorized_prs ${{ steps.changelog.outputs.categorized_prs }}
echo uncategorized_prs ${{ steps.changelog.outputs.uncategorized_prs }}
echo "${{ steps.changelog.outputs.changelog }}"
15 changes: 10 additions & 5 deletions .github/workflows/android_deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,21 @@ jobs:
- name: Check out
uses: actions/checkout@v3

- name: Find HEAD commit
id: head
run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT

- name: Build changelog on "develop"
id: changelog
uses: mikepenz/release-changelog-builder-action@v4
with:
configuration: ".github/workflows/configuration.json"
fromTag: "1.12.0"
toTag: "f41978f4c4bcc0848f3aa0a413815c5db6aafde2"
configuration: ".github/workflows/changelog-config.json"
# Listing PRs from the last tag to the HEAD commit
toTag: ${{ steps.head.outputs.sha }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Print release notes
run: |
echo ${{ github.event.pull_request.head.ref }}
echo ${{ steps.changelog.outputs.changelog }}
echo categorized_prs ${{ steps.changelog.outputs.categorized_prs }}
echo uncategorized_prs ${{ steps.changelog.outputs.uncategorized_prs }}
echo "${{ steps.changelog.outputs.changelog }}"
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"categories": [
{
"title": "## 🚀 Features",
"title": "## Features",
"labels": [
"type : feature"
]
Expand All @@ -13,10 +13,19 @@
]
},
{
"title": "## 🧪 Chores",
"title": "## 🧹 Chores",
"labels": [
"type : chore"
]
},
{
"title": "## Others",
"exclude_labels": [
"type : feature",
"type : bug",
"type : chore",
"type : release"
]
}
]
}

0 comments on commit 4580249

Please sign in to comment.