This is an automated email from the ASF dual-hosted git repository.
jiacai2050 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/horaedb.git
The following commit(s) were added to refs/heads/main by this push:
new 8fecd5d6 chore: add publish-github-release action (#1518)
8fecd5d6 is described below
commit 8fecd5d611c50ccfb8a7ac1c46c3e22dfa587af8
Author: chunshao.rcs <[email protected]>
AuthorDate: Fri Nov 1 17:58:29 2024 +0800
chore: add publish-github-release action (#1518)
## Rationale
Add automatic publish github release workflow.
## Detailed Changes
Supports automatic generation of release content and divides pr into the
following categories:
* Breaking Changes
* Features
* Refactor
* Fixed
* Docs
* Chore
## Test Plan
Manual test.
---
.github/release.yml | 46 ++++++++++++++++++++++++++++
.github/workflows/publish-github-release.yml | 40 ++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/.github/release.yml b/.github/release.yml
new file mode 100644
index 00000000..f31dc86c
--- /dev/null
+++ b/.github/release.yml
@@ -0,0 +1,46 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+changelog:
+ categories:
+ - title: Breaking Changes
+ labels:
+ - breaking-change
+ - title: Features
+ labels:
+ - feature
+ - title: Refactor
+ labels:
+ - refactor
+ - title: Fixed
+ labels:
+ - bug
+ - title: Docs
+ labels:
+ - docs
+ - title: Chore
+ labels:
+ - chore
+ - title: Test
+ labels:
+ - test
+ - title: Style
+ labels:
+ - style
+ - title: Build
+ labels:
+ - build
diff --git a/.github/workflows/publish-github-release.yml
b/.github/workflows/publish-github-release.yml
new file mode 100644
index 00000000..dcdd00e9
--- /dev/null
+++ b/.github/workflows/publish-github-release.yml
@@ -0,0 +1,40 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Publish Github Release
+
+on:
+ workflow_dispatch:
+ inputs:
+ version:
+ description: Version to release
+ required: true
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Release
+ uses: softprops/action-gh-release@v2
+ with:
+ draft: true
+ generate_release_notes: true
+ tag_name: ${{ inputs.version }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]