1.0.0
This commit is contained in:
19
release.sh
Executable file
19
release.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
PACKAGE_VERSION=$(grep 'version' package.json | cut -d '"' -f4)
|
||||
|
||||
yarn build
|
||||
|
||||
docker build -t wy373226722/electron-distribution:$PACKAGE_VERSION .
|
||||
|
||||
docker tag wy373226722/electron-distribution:$PACKAGE_VERSION registry.cn-shenzhen.aliyuncs.com/yi-ge/electron-distribution:$PACKAGE_VERSION
|
||||
docker tag wy373226722/electron-distribution:$PACKAGE_VERSION registry.cn-shenzhen.aliyuncs.com/yi-ge/electron-distribution:latest
|
||||
docker tag wy373226722/electron-distribution:$PACKAGE_VERSION ccr.ccs.tencentyun.com/yi-ge/electron-distribution:$PACKAGE_VERSION
|
||||
docker tag wy373226722/electron-distribution:$PACKAGE_VERSION ccr.ccs.tencentyun.com/yi-ge/electron-distribution:latest
|
||||
docker tag wy373226722/electron-distribution:$PACKAGE_VERSION wy373226722/electron-distribution:latest
|
||||
|
||||
docker push ccr.ccs.tencentyun.com/yi-ge/electron-distribution:$PACKAGE_VERSION
|
||||
docker push ccr.ccs.tencentyun.com/yi-ge/electron-distribution:latest
|
||||
docker push registry.cn-shenzhen.aliyuncs.com/yi-ge/electron-distribution:$PACKAGE_VERSION
|
||||
docker push registry.cn-shenzhen.aliyuncs.com/yi-ge/electron-distribution:latest
|
||||
docker push wy373226722/electron-distribution:$PACKAGE_VERSION
|
||||
docker push wy373226722/electron-distribution:latest
|
Reference in New Issue
Block a user