Skip to content

Commit

Permalink
Merge pull request #32 from devsapp/new_version
Browse files Browse the repository at this point in the history
New version
  • Loading branch information
anycodes authored Mar 30, 2022
2 parents 8b451ae + d6fb32d commit 2918c8c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,19 @@ async function preInit(inputObj) {
- ACR: https://cr.console.aliyun.com/
Tips:
- Serverless Devs Version >= v2.0.103
- FC Component: https://www.serverless-devs.com/fc/readme
`)
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = await process.execSync('s -v')
const versionNumber = version.stdout.match(/s: 2\.0\.(.*?),/)[1]
if (Number(version) < 103) {
console.log('\x1b[40m The application requires that the version of Serverless Devs is at least 2.0.103, you can be upgraded through [npm install -g @serverless-devs/s] \x1b[0m')
}
} catch (e) {
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-event-cpp
Provider:
- 阿里云
Version: 1.3.3
Version: 1.3.4
Description: 快速部署一个基于 Custom Container Runtime 的 C++ Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
52 changes: 1 addition & 51 deletions update.list
Original file line number Diff line number Diff line change
@@ -1,51 +1 @@
async-task/python3
custom-container-function/fc-custom-container-event-cpp
custom-container-function/fc-custom-container-event-nodejs14
custom-container-function/fc-custom-container-event-python3.9
custom-container-function/fc-custom-container-http-aspdotnetcore
custom-container-function/fc-custom-container-http-cpp
custom-container-function/fc-custom-container-http-springboot
custom-container-function/fc-custom-container-websocket-golang
custom-container-function/fc-custom-container-websocket-nodejs14
custom-container-function/fc-custom-container-websocket-python3.9
http-function/fc-http-golang1.x
http-function/fc-http-java8
http-function/fc-http-node.js6
http-function/fc-http-node.js8
http-function/fc-http-node.js10
http-function/fc-http-node.js12
http-function/fc-http-node.js14
http-function/fc-http-php7.2
http-function/fc-http-python3.6
http-function/fc-http-python2.7
event-function/fc-event-golang1.x
event-function/fc-event-java8
event-function/fc-event-node.js6
event-function/fc-event-node.js8
event-function/fc-event-node.js10
event-function/fc-event-node.js12
event-function/fc-event-node.js14
event-function/fc-event-php7.2
event-function/fc-event-python3.6
event-function/fc-event-python2.7
custom-function/cpp/fc-custom-cpp-event
custom-function/cpp/fc-custom-cpp-http
custom-function/dart/fc-custom-dart-event
custom-function/f#/fc-custom-fsharp-http
custom-function/golang/fc-custom-golang-event
custom-function/golang/fc-custom-golang-websocket
custom-function/java8/fc-custom-java8-http
custom-function/lua/fc-custom-lua-event
custom-function/nodejs10/fc-custom-nodejs10-event
custom-function/nodejs10/fc-custom-nodejs10-websocket
custom-function/nodejs12/fc-custom-nodejs12-event
custom-function/nodejs12/fc-custom-nodejs12-websocket
custom-function/php74/fc-custom-php74-event
custom-function/php74/fc-custom-php74-http
custom-function/powershell/fc-custom-powershell-event
custom-function/python37/fc-custom-python37-event
custom-function/python37/fc-custom-python37-http
custom-function/python37/fc-custom-python37-websocket
custom-function/ruby/fc-custom-ruby-event
custom-function/rust/fc-custom-rust-event
custom-function/typescript/fc-custom-typescript-event
custom-container-function/fc-custom-container-event-cpp

0 comments on commit 2918c8c

Please sign in to comment.