Compare commits
No commits in common. "master" and "v1.2.1" have entirely different histories.
10
.drone.yml
10
.drone.yml
|
@ -9,9 +9,7 @@ steps:
|
|||
- name: build
|
||||
path: /build
|
||||
commands:
|
||||
- export VERSION="1.2.5"
|
||||
- echo $VERSION > /build/version.txt
|
||||
- echo "v$VERSION" > /build/release-version.txt
|
||||
- echo "v1.2.1" > /build/version.txt
|
||||
- npm install
|
||||
- npm run build
|
||||
- cp -R dist /build/dist
|
||||
|
@ -33,9 +31,9 @@ steps:
|
|||
path: /build
|
||||
settings:
|
||||
gitea_server: https://git.meow.tf
|
||||
tag_file: /build/release-version.txt
|
||||
title_file: /build/release-version.txt
|
||||
files: [ '/build/*.tgz', '/build/*.deb' ]
|
||||
tag_file: /build/version.txt
|
||||
title_file: /build/version.txt
|
||||
files: [ '/build/*' ]
|
||||
environment:
|
||||
PLUGIN_API_KEY:
|
||||
from_secret: gitea_token
|
||||
|
|
|
@ -4,6 +4,7 @@ fpm -s dir -t deb -p /build/arm-web_$VERSION.deb \
|
|||
--deb-compression bzip2 \
|
||||
--description "Automatic Ripping Machine Web Interface" \
|
||||
-m "cats <admin@meow.tf>" --vendor "Meow.tf" \
|
||||
--depends nginx \
|
||||
--url "https://meow.tf" \
|
||||
packaging/arm.conf=/etc/nginx/conf.d/arm.conf \
|
||||
/build/dist/=/var/lib/arm/web/
|
||||
/build/dist=/var/lib/arm/web
|
||||
|
|
|
@ -48,8 +48,7 @@ ws.on('jobs', function(data) {
|
|||
|
||||
ws.on('job:create', function(job) {
|
||||
// Create new job component
|
||||
d.jobs[job.id] = job;
|
||||
Vue.set(d, 'jobs', d.jobs);
|
||||
Vue.set(d.jobs, job.id, job);
|
||||
});
|
||||
|
||||
ws.on('job:update', function(update) {
|
||||
|
@ -62,11 +61,6 @@ ws.on('job:update', function(update) {
|
|||
}
|
||||
});
|
||||
|
||||
ws.on('job:complete', function(job) {
|
||||
delete d.jobs[job.id];
|
||||
Vue.set(d, 'jobs', d.jobs);
|
||||
});
|
||||
|
||||
ws.on('job:progress', function(progress) {
|
||||
// Update component status bar for progress.job_id
|
||||
let job = d.jobs[progress.job_id];
|
||||
|
|
Loading…
Reference in New Issue