setup release pipeline

This commit is contained in:
AceDataCloud committed 2024-01-01 19:50:57 +08:00
1 parent 3db7a7d556
commit b3ec1f33f9
6 files changed
+60 -9

No files matched your search

File renamed without changes.
+35
View File
@@ -0,0 +1,35 @@
name: publish
on:
push:
branches:
- main
paths-ignore:
- .gitignore
- README.md
- '.github/ISSUE_TEMPLATE/**'
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: yarn install
- name: Run yarn bump and generate changelog
run: yarn bump
- name: Commit and Push changes
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git add -A
git commit -m "Bump version and update changelog"
git push
+15
View File
@@ -1,6 +1,21 @@
{
"name": "@zhishuyun/hub",
"entries": [
{
"date": "Mon, 01 Jan 2024 11:44:05 GMT",
"version": "0.1.2",
"tag": "@zhishuyun/hub_v0.1.2",
"comments": {
"patch": [
{
"author": "cqc@germey.cn",
"package": "@zhishuyun/hub",
"commit": "6e12486bfa0fc7ac3cf550e4b5cdd8e435362459",
"comment": "change commit info"
}
]
}
},
{
"date": "Mon, 01 Jan 2024 11:28:17 GMT",
"version": "0.1.1",
+9 -1
View File
@@ -1,9 +1,17 @@
# Change Log - @zhishuyun/hub
This log was last generated on Mon, 01 Jan 2024 11:28:17 GMT and should not be manually modified.
This log was last generated on Mon, 01 Jan 2024 11:44:05 GMT and should not be manually modified.
<!-- Start content -->
## 0.1.2
Mon, 01 Jan 2024 11:44:05 GMT
### Patches
- change commit info (cqc@germey.cn)
## 0.1.1
Mon, 01 Jan 2024 11:28:17 GMT
@@ -1,7 +0,0 @@
{
"type": "patch",
"comment": "change commit info",
"packageName": "@zhishuyun/hub",
"email": "cqc@germey.cn",
"dependentChangeType": "patch"
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@zhishuyun/hub",
"version": "0.1.1",
"version": "0.1.2",
"author": "Germey Technology <dev@germey.cn>",
"repository": {
"type": "git",