From 7ef38429eed4c84b12482eccc8e51629087a603c Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Thu, 11 Mar 2021 11:01:27 +0100 Subject: [PATCH] chore: rust 1.50.0 --- .drone.yml | 17 ++++++++++------- Makefile | 4 ++-- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 303dd61..cabda12 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ steps: - ./target - name: test - image: joseluisq/rust-linux-darwin-builder:1.49.0 + image: joseluisq/rust-linux-darwin-builder:1.50.0 commands: - make test @@ -62,7 +62,7 @@ platform: steps: - name: test - image: joseluisq/rust-linux-darwin-builder:1.49.0 + image: joseluisq/rust-linux-darwin-builder:1.50.0 commands: - make test when: @@ -70,7 +70,7 @@ steps: - tag - name: release - image: joseluisq/rust-linux-darwin-builder:1.49.0 + image: joseluisq/rust-linux-darwin-builder:1.50.0 commands: - make prod.release @@ -173,7 +173,7 @@ platform: steps: - name: test - image: joseluisq/rust-linux-darwin-builder:1.49.0 + image: joseluisq/rust-linux-darwin-builder:1.50.0 commands: - make test when: @@ -181,7 +181,7 @@ steps: - tag - name: release - image: joseluisq/rust-linux-darwin-builder:1.49.0 + image: joseluisq/rust-linux-darwin-builder:1.50.0 commands: - make prod.release @@ -274,12 +274,12 @@ platform: steps: - name: test - image: joseluisq/rust-linux-darwin-builder:1.49.0 + image: joseluisq/rust-linux-darwin-builder:1.50.0 commands: - make test - name: release - image: joseluisq/rust-linux-darwin-builder:1.49.0 + image: joseluisq/rust-linux-darwin-builder:1.50.0 commands: - make prod.release @@ -326,6 +326,9 @@ platform: os: linux arch: amd64 +clone: + disable: true + steps: - name: notify image: plugins/slack diff --git a/Makefile b/Makefile index 19a5655..b0fa04f 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ darwin: mkdir -p release && \ cp -rf ./target/$(PKG_TARGET_DARWIN)/release/$(PKG_NAME) release/$(PKG_NAME)-darwin && \ echo \"Shrinking Darwin binary file...\" && \ - x86_64-apple-darwin19-strip release/$(PKG_NAME)-darwin && \ + x86_64-apple-darwin20.2-strip release/$(PKG_NAME)-darwin && \ du -sh ./release/$(PKG_NAME)-darwin" .PHONY: darwin @@ -172,7 +172,7 @@ define build_release_shrink = # Shrink binaries in place (tmp dir) strip $(PKG_TMP_BIN_PATH)/$(PKG_NAME) - x86_64-apple-darwin19-strip $(PKG_TMP_BIN_PATH_DARWIN)/$(PKG_NAME) + x86_64-apple-darwin20.2-strip $(PKG_TMP_BIN_PATH_DARWIN)/$(PKG_NAME) echo "Binary sizes after (shrinking):" du -sh $(PKG_TMP_BIN_PATH)/$(PKG_NAME) -- libgit2 1.7.2