„.drone.yml“ ändern
continuous-integration/drone/push Build is passing Details

This commit is contained in:
an 2020-01-21 14:39:16 +00:00
parent 87f2ca8e16
commit 5207b0fde0
1 changed files with 3 additions and 9 deletions

View File

@ -15,15 +15,9 @@ steps:
- echo "package main" >$VERSIONGO - echo "package main" >$VERSIONGO
- echo "" >>$VERSIONGO - echo "" >>$VERSIONGO
- echo "const (" >>$VERSIONGO - echo "const (" >>$VERSIONGO
- echo -n " Version = \"" >>$VERSIONGO - echo " Version = \"$BRANCH\"" >>$VERSIONGO
- echo -n "$BRANCH" >>$VERSIONGO - echo " Build = \"$REV\"" >>$VERSIONGO
- echo "\"" >>$VERSIONGO - echo " Builddate = \"$BUILDDATE\"" >>$VERSIONGO
- echo -n " Build = \"" >>$VERSIONGO
- echo -n "$REV" >>$VERSIONGO
- echo "\"" >>$VERSIONGO
- echo -n " Builddate = \"" >>$VERSIONGO
- echo -n "$BUILDDATE" >>$VERSIONGO
- echo "\"" >>$VERSIONGO
- echo ")" >>$VERSIONGO - echo ")" >>$VERSIONGO
- cat $VERSIONGO - cat $VERSIONGO
- echo -n "$BRANCH-$REV" >$TAGS - echo -n "$BRANCH-$REV" >$TAGS