diff --git a/.drone.yml b/.drone.yml index f971a5c..3c3a79e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,11 +10,13 @@ platform: steps: - name: Setup commands: + - git fetch origin --tags - make setup - name: Test commands: - make test + trigger: event: - push @@ -31,16 +33,17 @@ platform: steps: - name: Setup commands: + - git fetch origin --tags - make setup - name: Build Release commands: - cd debian - - make release - make build - make copy - make deploy + - make tag trigger: event: - promote -... \ No newline at end of file +... diff --git a/debian/Makefile b/debian/Makefile index 9ffe8b6..7525d5f 100644 --- a/debian/Makefile +++ b/debian/Makefile @@ -12,7 +12,6 @@ clean: rm -r BUILD/* tag: - git commit -am "release version $(VERSION)" git tag -a -m "release version $(VERSION)" "v$(VERSION)" git push --tags