Browse Source

Merge branch 'canary' of https://github.com/private-dreamnet/dreampower into canary

master
deeppppp 3 years ago
parent
commit
cde25a321b
  1. 2
      requirements.txt
  2. 6
      scripts/release.js

2
requirements.txt

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
numpy==1.16.4
pillow==6.1.0
pillow==6.2.0
opencv-python==4.1.0.25
rsa==4.0
torchvision==0.2.2.post3

6
scripts/release.js

@ -16,7 +16,7 @@ const path = require('path') @@ -16,7 +16,7 @@ const path = require('path')
const Seven = require('node-7z')
const GITHUB_ORG = 'dreamnettech'
const GITHUB_REPO = 'dreamtime'
const GITHUB_REPO = 'dreampower'
if (!process.env.GITHUB_TOKEN) {
console.log('API keys not found!')
@ -127,6 +127,10 @@ function zip() { @@ -127,6 +127,10 @@ function zip() {
}
async function main() {
if (!isTagRelease) {
return
}
if (!fs.existsSync(buildPath)) {
throw Error('No build path!')
}

Loading…
Cancel
Save