Skip to content

Commit

Permalink
Merge pull request #119 from aarroyosal/release/2022-11-14
Browse files Browse the repository at this point in the history
Release version 2022-11-14
  • Loading branch information
aarroyosal authored Nov 18, 2022
2 parents b5fd619 + ae3d688 commit 8baa6ba
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 19 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,16 @@ jobs:
branch: release/${{ github.event.inputs.version }}
create_branch: true
- name: Create pull request
uses: thomaseizinger/create-pull-request@1.2.2
uses: repo-sync/pull-request@v2
id: pull_request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
head: release/${{ github.event.inputs.version }}
base: stable
title: Release version ${{ github.event.inputs.version }}
reviewers: ${{ github.actor }}
body: |
Hi @${{ github.actor }}!
source_branch: release/${{ github.event.inputs.version }}
destination_branch: stable
pr_title: Release version ${{ github.event.inputs.version }}
pr_reviewer: ${{ github.actor }}
pr_body: |
This PR was created in response to a manual trigger of the release workflow here: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}.
Please, check that the version files and changelogs are correct.
Merging this PR will create a GitHub release and publish the AT libraries for the DW whose versions have been updated
Expand All @@ -84,19 +83,19 @@ jobs:
GH_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
run: |
if [[ ${{ steps.changes.outputs.bigquery }} = "true" ]]; then
gh pr edit ${{ steps.pull_request.outputs.number }} --add-label dedicated_bigquery
gh pr edit ${{ steps.pull_request.outputs.pr_number }} --add-label dedicated_bigquery
fi
if [[ ${{ steps.changes.outputs.databricks }} = "true" ]]; then
gh pr edit ${{ steps.pull_request.outputs.number }} --add-label dedicated_databricks
gh pr edit ${{ steps.pull_request.outputs.pr_number }} --add-label dedicated_databricks
fi
if [[ ${{ steps.changes.outputs.postgres }} = "true" ]]; then
gh pr edit ${{ steps.pull_request.outputs.number }} --add-label dedicated_postgres
gh pr edit ${{ steps.pull_request.outputs.pr_number }} --add-label dedicated_postgres
fi
if [[ ${{ steps.changes.outputs.redshift }} = "true" ]]; then
gh pr edit ${{ steps.pull_request.outputs.number }} --add-label dedicated_redshift
gh pr edit ${{ steps.pull_request.outputs.pr_number }} --add-label dedicated_redshift
fi
if [[ ${{ steps.changes.outputs.snowflake }} = "true" ]]; then
gh pr edit ${{ steps.pull_request.outputs.number }} --add-label dedicated_snowflake
gh pr edit ${{ steps.pull_request.outputs.pr_number }} --add-label dedicated_snowflake
fi
- name: Trigger update doc job
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,23 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
body: ${{ env.RELEASE_BODY }}
- name: Create PR from stable into main branch
uses: thomaseizinger/create-pull-request@1.2.2
uses: repo-sync/pull-request@v2
id: pull_request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
head: stable
base: main
title: Merge master into dev branch
body: |
source_branch: stable
destination_branch: main
pr_title: Merge master into dev branch
pr_body: |
This PR merges the master branch back into dev.
This happens to ensure that the updates that happend on the release branch, i.e. CHANGELOG and manifest updates are also present on the dev branch.
- name: Merge PR if possible
env:
GH_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
run: |
gh pr merge ${{ steps.pull_request.outputs.number }} --auto --merge
gh pr merge ${{ steps.pull_request.outputs.pr_number }} --auto --merge
publish-bq:
needs: release
Expand Down
6 changes: 6 additions & 0 deletions clouds/bigquery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [1.3.8] - 2022-11-14

### Changed

- add nice stuff

## [1.3.7] - 2022-11-13

### Changed
Expand Down
2 changes: 1 addition & 1 deletion clouds/bigquery/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.7
1.3.8

0 comments on commit 8baa6ba

Please sign in to comment.