Skip to content

Commit

Permalink
0.0.10: Put assembly on github release, rename LWC tarball with version
Browse files Browse the repository at this point in the history
(Merge branch 'edmundnoble-master')

I'll check with Daniel just so we know for sure that this is what we want.
  • Loading branch information
djspiewak committed Jun 8, 2018
2 parents d719f73 + 46bd250 commit 3b0a21e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ deploy:
secure: "W7dalSaVSxIveCTs6H+gZjETdrp26MJr5/q5uncg2R3uEJ3WteejYahLih9DoYAekyegJznxF3pyc9Jha+j9n77BaFVzhYJEOaz8C1tBaw8oxfts3yohfAluxZ/oZ7sweCiIoFUv0Txb3aCPanwOj9u1mL/7ogFfyuN3O74HxPmeKTczjLVZklHnnqp/1gtdkrshKVuwpprwlq8gdZbZ9pOr9Lrm0AjcKjMXk0gze8pfBC5gDQZTdHJobxBsIQq+uwpQegEwc4hwzAtWKjzCxRuuQM63IoANo+f1PEAlbEPNyku02cjqNikVVxKSSEiNgn2MdS9/8/PRnCOi4ubzYqRIeiipynlcjcyfj/DeAL277+9IZwpl8e1TW0emrwkZXrK+P++i9LAWVByOa2rkJTj0iVfJanR1NKbehUeUo73YKE+eRmwpuP2KtvnKxgYTOuNYwbmYHVlcVc3zsJTCQqbe6cwhOmDOAve4knp7ceELRdBQ5nPaq93VIOWQMjd9PwuH/VJaVczS1aTJZHF//un8BYqlFbGHjGR5hB1eylSLlZDY2otzM6SdpsnNaC4qv+jVRD1GrfNiOoUVCBnbSQrr5lvr0i/BkRViQrluf6cWI0OnekY2os1IOewJcAjqwWCT6qKxj2LSVrDPxlgXobfaaZC5dZioKlii84GW7lg="
file_glob: false
file:
- .targets/lwc/scala-2.12/lwc.tar.gz
- .targets/lwc/scala-2.12/quasar-s3-$VERSION-explode.tar.gz
- .targets/lwc/scala-2.12/quasar-s3-lwc-assembly-$VERSION.jar
skip_cleanup: true
script:
- ./scripts/version
Expand Down
7 changes: 5 additions & 2 deletions project/AssembleLWC.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ object AssembleLWC {
// LWC tarball.
val buildOutputFolder = (crossTarget in Compile).value

// Grab the version to make it part of the tarball filename.
val thisVersion = (version in ThisBuild).value

// we assemble every component of the final tarball
// in this folder, to be exploded over the user's
// `plugins` folder.
Expand Down Expand Up @@ -154,7 +157,7 @@ object AssembleLWC {
files = lwcPluginsFolder.listFiles.map(p => lwcPluginsFolder.toPath.relativize(p.toPath)).mkString(" ")

// the `plugins` tarball's location
tarPath = new File(buildOutputFolder, "lwc.tar.gz")
tarPath = new File(buildOutputFolder, s"quasar-s3-$thisVersion-explode.tar.gz")

// the command we run to finish up: zip up (-c) all of
// the files in our plugins folder ($files), with the
Expand All @@ -169,4 +172,4 @@ object AssembleLWC {
} yield ()).unsafePerformSync

}
}
}
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.0.9"
version in ThisBuild := "0.0.10"

0 comments on commit 3b0a21e

Please sign in to comment.