mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
functions: 0.0.2 release
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Version of IronFunctions
|
// Version of IronFunctions
|
||||||
var Version = "0.0.1"
|
var Version = "0.0.2"
|
||||||
|
|
||||||
func handleVersion(c *gin.Context) {
|
func handleVersion(c *gin.Context) {
|
||||||
c.JSON(http.StatusOK, gin.H{"version": Version})
|
c.JSON(http.StatusOK, gin.H{"version": Version})
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ set -ex
|
|||||||
|
|
||||||
user="iron"
|
user="iron"
|
||||||
service="functions"
|
service="functions"
|
||||||
version_file="api/version.go"
|
version_file="api/server/version.go"
|
||||||
tag="latest"
|
tag="latest"
|
||||||
|
|
||||||
if [ -z $(grep -m1 -Eo "[0-9]+\.[0-9]+\.[0-9]+" $version_file) ]; then
|
if [ -z $(grep -m1 -Eo "[0-9]+\.[0-9]+\.[0-9]+" $version_file) ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user