service menu

This commit is contained in:
qiaofeng1227 2023-08-17 10:47:31 +08:00
parent a565de63c9
commit 6c34386358
5 changed files with 17 additions and 13 deletions

View file

@ -17,17 +17,15 @@ jobs:
name: Check out code
- name: Read release mode
id: check_release
run: |
release=$(jq -r '.RELEASE' version.json)
echo $release
exit 1
if [$release == "dev"]; then
echo "dev, exit"
exit 1
fi
echo "::set-output name=release::$release"
- name: Read Plugin Version
id: update_data
if: ${{ steps.check_release.outputs.release != 'dev' }}
run: |
version=$(jq -r '.VERSION' version.json)
echo version=$version
@ -55,6 +53,7 @@ jobs:
- name: Upload To Azure Blob
uses: LanceMcCarthy/Action-AzureBlobUpload@v2
if: ${{ steps.check_release.outputs.release != 'dev' }}
with:
connection_string: ${{ secrets.AZURE_STORAGE_ARTIFACT }}
container_name: release
@ -65,6 +64,7 @@ jobs:
- name: Create Release
id: create_release
if: ${{ steps.check_release.outputs.release != 'dev' }}
uses: softprops/action-gh-release@v1
with:
files: /*

View file

@ -17,17 +17,15 @@ jobs:
name: Check out code
- name: Read release mode
id: check_release
run: |
release=$(jq -r '.RELEASE' version.json)
echo $release
exit 1
if [$release == "prodution"]; then
echo "prodution, exit"
exit 1
fi
echo "::set-output name=release::$release"
- name: Read Plugin Version
id: update_data
if: ${{ steps.check_release.outputs.release == 'dev' }}
run: |
version=$(jq -r '.VERSION' version.json)
echo version=$version
@ -54,6 +52,7 @@ jobs:
cp artifacts/websoft9-$version.zip artifacts/websoft9-latest.zip
- name: Upload To Azure Blob
if: ${{ steps.check_release.outputs.release == 'dev' }}
uses: LanceMcCarthy/Action-AzureBlobUpload@v2
with:
connection_string: ${{ secrets.AZURE_STORAGE_ARTIFACT }}
@ -64,6 +63,7 @@ jobs:
fail_if_source_empty: true
- name: Create Release
if: ${{ steps.check_release.outputs.release == 'dev' }}
id: create_release
uses: softprops/action-gh-release@v1
with:

View file

@ -1,3 +1,7 @@
## 0.8.15 release on 2023-08-17
1. service menu bug
## 0.8.14 release on 2023-08-16
1. myapps plugins refresh bug

View file

@ -1 +1 @@
1. myapps plugins refresh bug
1. service menu bug

View file

@ -43,6 +43,6 @@
"18.04"
]
},
"RELEASE": "production",
"VERSION": "0.8.14"
"RELEASE": "dev",
"VERSION": "0.8.15"
}