You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
254 B
12 lines
254 B
5 years ago
|
package conf
|
||
|
|
||
|
import "io/ioutil"
|
||
|
|
||
|
const BackendVersion = string("3.0.0-b")
|
||
|
|
||
|
// WriteVersionLock 将当前版本信息写入 version.lock
|
||
|
func WriteVersionLock() error {
|
||
|
err := ioutil.WriteFile("version.lock", []byte(BackendVersion), 0644)
|
||
|
return err
|
||
|
}
|