From a14a7e33612f9daca5b7abf0cccd393cdee8eba6 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 17 Oct 2020 20:14:20 +0200 Subject: [PATCH] Make sure a -master suffix is added to built files on master --- .drone.yml | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 63f49a7..7d916c9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,8 @@ steps: - unzip vikunja-frontend-master.zip -d frontend - sed -i 's/\/api\/v1//g' frontend/index.html - yarn install - - export BUILD_NUMBER=master + # Make sure that the -master suffix is added to release files + - sed -i 's/\$\{version\}/master/g' package.json - yarn dist --linux --windows - name: release diff --git a/package.json b/package.json index 5d9dc33..1be84a8 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "build": { "appId": "io.vikunja.desktop", "productName": "Vikunja Desktop", + "artifactName": "${productName}-${version}.${ext}", "linux": { "target": [ "deb",