2021-11-14 19:57:55 +01:00
|
|
|
// 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
|
|
|
|
|
2021-11-14 19:57:55 +01:00
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
"os"
|
|
|
|
|
|
|
|
"jdk.sh/meta"
|
|
|
|
)
|
2021-11-14 02:55:33 +01:00
|
|
|
|
|
|
|
func main() {
|
2021-11-14 19:57:55 +01:00
|
|
|
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
|
|
|
}
|