1
1
Fork 0
mirror of https://github.com/joshdk/drone-skip-pipeline synced 2024-05-18 09:46:02 +02:00
drone-skip-pipeline/main.go

26 lines
494 B
Go
Raw Normal View History

// Copyright Josh Komoroske. All rights reserved.
// Use of this source code is governed by the MIT license,
// a copy of which can be found in the LICENSE.txt file.
// SPDX-License-Identifier: MIT
2021-11-14 02:55:33 +01:00
package main
import (
"log"
"os"
"jdk.sh/meta"
)
2021-11-14 02:55:33 +01:00
func main() {
if err := mainCmd(); err != nil {
log.Println("joshdk/drone-skip-pipeline:", err)
os.Exit(1)
}
}
func mainCmd() error {
log.Printf("joshdk/drone-skip-pipeline %s (%s)\n", meta.Version(), meta.ShortSHA())
return nil
2021-11-14 02:55:33 +01:00
}