Added logging and proper execution of commands
Fixed several issues, and ran a basic test on ironsmith itself. Need to prevent subsequent builds on same versions
This commit is contained in:
@ -64,7 +64,7 @@ func Open(filename string) (*Store, error) {
|
||||
|
||||
// Close closes the bolt datastore
|
||||
func (ds *Store) Close() error {
|
||||
return ds.Close()
|
||||
return ds.bolt.Close()
|
||||
}
|
||||
|
||||
func (ds *Store) get(bucket string, key TimeKey, result interface{}) error {
|
||||
|
@ -34,7 +34,7 @@ func (ds *Store) AddLog(version, stage, entry string) error {
|
||||
return ds.put(bucketLog, key, data)
|
||||
}
|
||||
|
||||
// LatestVersion returns the latest version for the current project
|
||||
// LatestVersion returns the latest version (successful or otherwise) for the current project
|
||||
func (ds *Store) LatestVersion() (string, error) {
|
||||
version := ""
|
||||
|
||||
|
Reference in New Issue
Block a user