You've already forked pocketbase
							
							
				mirror of
				https://github.com/pocketbase/pocketbase.git
				synced 2025-10-31 08:37:38 +02:00 
			
		
		
		
	[#69] automatically add version information
This commit is contained in:
		| @@ -9,6 +9,8 @@ before: | ||||
| builds: | ||||
|   - main: ./examples/base | ||||
|     binary: pocketbase | ||||
|     ldflags: | ||||
|       - -s -w -X github.com/pocketbase/pocketbase.Version={{ .Version }} | ||||
|     env: | ||||
|       - CGO_ENABLED=0 | ||||
|     goos: | ||||
|   | ||||
| @@ -17,7 +17,7 @@ import ( | ||||
| var _ core.App = (*PocketBase)(nil) | ||||
|  | ||||
| // Version of PocketBase | ||||
| const Version = "0.1.0" | ||||
| var Version = "(untracked)" | ||||
|  | ||||
| // appWrapper serves as a private core.App instance wrapper. | ||||
| type appWrapper struct { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user