kind: pipeline type: docker name: default steps: - name: build image: python:3.9 commands: - pip install --no-cache-dir pyinstaller - pyinstaller --clean LaunchSimLinux.spec - name: push-artifacts image: alpine/git environment: GIT_USERNAME: from_secret: GIT_USERNAME GIT_PASSWORD: from_secret: GIT_PASSWORD commands: - git config --global user.name "Drone CI" - git config --global user.email "drone@spark-ops.com" - git clone https://$GIT_USERNAME:$GIT_PASSWORD@git.spark-ops.com/LaunchSim/application.git - cp README_APP.md dist/LaunchSim.exe application/ - VERSION=$(cat VERSION) - cd application - git add . - git commit -m "Actualización de v$VERSION" - git push origin main