Browse Source

更新版本-version

sprint/s4
董书康 8 months ago
parent
commit
25f3d1acc0
4 changed files with 10 additions and 10 deletions
  1. +7
    -7
      .drone.yml
  2. +1
    -1
      VERSION
  3. +1
    -1
      version_control/APP_VERSION
  4. +1
    -1
      version_control/BUILD

+ 7
- 7
.drone.yml View File

@ -25,7 +25,7 @@ steps:
branch: branch:
# - develop # - develop
# - master # - master
- release/S3
- release/s4
event: event:
- push - push
### 应用版本控制:检查版本文件,若不存在则自动创建,并自动递增版本号 ### 应用版本控制:检查版本文件,若不存在则自动创建,并自动递增版本号
@ -38,14 +38,14 @@ steps:
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
- apk add tree --no-cache - apk add tree --no-cache
- tree ./$backendName - tree ./$backendName
- make branch=release/S3 vc
- make branch=release/s4 vc
# - make branch=master vc # - make branch=master vc
when: when:
status: [ success ] status: [ success ]
branch: branch:
# - develop # - develop
# - master # - master
- release/S3
- release/s4
event: event:
- push - push
### 打包镜像并推送到镜像仓库 ### 打包镜像并推送到镜像仓库
@ -76,27 +76,27 @@ steps:
branch: branch:
# - develop # - develop
# - master # - master
- release/S3
- release/s4
### 应用版本控制:提交版本文件的修改记录,并为代码分支创建版本号标签 ### 应用版本控制:提交版本文件的修改记录,并为代码分支创建版本号标签
- name: Upload Version - name: Upload Version
image: registry.digiwincloud.com.cn/base/base_vc image: registry.digiwincloud.com.cn/base/base_vc
commands: commands:
# - make branch=develop to_git # - make branch=develop to_git
# - make branch=master to_git # - make branch=master to_git
- make branch=release/S3 to_git
- make branch=release/s4 to_git
when: when:
status: [ success ] status: [ success ]
branch: branch:
# - develop # - develop
# - master # - master
- release/S3
- release/s4
event: event:
- push - push
trigger: trigger:
branch: branch:
# - develop # - develop
# - master # - master
- release/S3
- release/s4
event: event:
- push - push
volumes: volumes:


+ 1
- 1
VERSION View File

@ -1 +1 @@
1.0.2
1.0.4

+ 1
- 1
version_control/APP_VERSION View File

@ -1 +1 @@
1.0.2
1.0.4

+ 1
- 1
version_control/BUILD View File

@ -1 +1 @@
1049
999

Loading…
Cancel
Save