mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 10:58:14 +08:00
fix commit 2.10.38
This commit is contained in:
parent
21b31f336b
commit
5d0b69fd62
@ -29,14 +29,14 @@ stages:
|
||||
artifacts:
|
||||
- name: all_zip
|
||||
path:
|
||||
- modules/server/target/server-2.10.38.11-release.zip
|
||||
- modules/agent/target/agent-2.10.38.11-release.zip
|
||||
- modules/server/target/server-2.10.38-release.zip
|
||||
- modules/agent/target/agent-2.10.38-release.zip
|
||||
- name: server_zip
|
||||
path:
|
||||
- modules/server/target/server-2.10.38.11-release.zip
|
||||
- modules/server/target/server-2.10.38-release.zip
|
||||
- name: agent_zip
|
||||
path:
|
||||
- modules/agent/target/agent-2.10.38.11-release.zip
|
||||
- modules/agent/target/agent-2.10.38-release.zip
|
||||
settings: []
|
||||
strategy:
|
||||
retry: '0'
|
||||
@ -50,7 +50,7 @@ stages:
|
||||
name: publish_general_artifacts
|
||||
displayName: 合并打包
|
||||
dependArtifact: all_zip
|
||||
artifactName: jpom-2.10.38.11
|
||||
artifactName: jpom-2.10.38
|
||||
strategy:
|
||||
retry: '0'
|
||||
strategy:
|
||||
|
@ -64,12 +64,17 @@ echo "替换配置文件版本号 $new_version"
|
||||
|
||||
if [ "$tag" == "release" ]; then
|
||||
# 替换 Dockerfile 中的版本
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" $base/modules/server/Dockerfile
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" $base/modules/agent/Dockerfile
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" $base/script/docker.sh
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" $base/modules/server/DockerfileRelease
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/modules/server/Dockerfile"
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/modules/agent/Dockerfile"
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/script/docker.sh"
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/modules/server/DockerfileRelease"
|
||||
# vue version
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/web-vue/package.json"
|
||||
|
||||
# gitee go
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/.workflow/MasterPipeline.yml"
|
||||
elif [ "$tag" == "beta" ]; then
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" $base/modules/server/DockerfileBeta
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/modules/server/DockerfileBeta"
|
||||
else
|
||||
echo "不支持的模式 $tag"
|
||||
exit
|
||||
@ -96,12 +101,6 @@ cat >"$base/modules/common/src/main/resources/banner.txt" <<EOF
|
||||
|
||||
EOF
|
||||
|
||||
# vue version
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/web-vue/package.json"
|
||||
|
||||
# gitee go
|
||||
sed -i.bak "s/${old_version}/${new_version}/g" "$base/.workflow/MasterPipeline.yml"
|
||||
|
||||
# 保留新版本号
|
||||
echo "$new_version" >"${base}/script/tag.$tag.txt"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "jpom-vue",
|
||||
"version": "2.10.38.11",
|
||||
"version": "2.10.38",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service --max-old-space-size=900 serve --mode dev",
|
||||
|
Loading…
Reference in New Issue
Block a user