diff --git a/.drone.yml b/.drone.yml index 9cbb5bf..0e1de3c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,7 +48,7 @@ steps: - echo 192.168.0.2 git.1000my.com >> /etc/hosts - semantic-release - - name: 获取tag数据 + - name: tag image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:alpine-git-v2.36.2 commands: - ping git.1000my.com -c 1 @@ -60,7 +60,6 @@ steps: # - git submodule add -b master https://git.1000my.com/project_runteng/server_iot-common.git # - git mv server_iot-common iot-common # - git submodule sync - - git describe --tags `git rev-list --tags --max-count=1` # 获取当前分支的tag - git describe --abbrev=0 --tags > .tags @@ -79,6 +78,17 @@ steps: - master + - name: 对比生成增量包 + pull: if-not-exists + image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:nsis20241212 + commands: + - the_last_dir + - ls Sources/Setup.exe + - du -sh Sources/Setup.exe + when: + branch: + - master + # - name: 上传zip到iot正式接口platformProgramAdd # pull: if-not-exists # image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:apisix-init-base