File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,26 @@ pipeline:
72
72
environment :
73
73
- RELEASEBUILD=yes
74
74
commands :
75
+ # Produces dotty-version.{tar.gz, zip}
76
+ - ./project/scripts/sbt dist-bootstrapped/packArchive
75
77
- ./project/scripts/sbtPublish ";dotty-bootstrapped/publishSigned ;sonatypeRelease"
76
78
volumes :
77
79
- /home/drone/keys:/keys
78
80
secrets : [ sonatype_user, sonatype_pw, pgp_pw ]
79
81
when :
80
- event : deployment
81
- environment : release
82
+ event : tag
83
+
84
+ # Publish dotty-version.{tar.gz, zip} to GitHub Release
85
+ github_release :
86
+ image : plugins/github-release
87
+ secrets : [ github_token ]
88
+ draft : true
89
+ files :
90
+ - dist-bootstrapped/target/dotty-*
91
+ checksum :
92
+ - sha256
93
+ when :
94
+ event : tag
82
95
83
96
publish_sbt_release :
84
97
image : lampepfl/dotty:2017-10-07
You can’t perform that action at this time.
0 commit comments