Skip to content

Commit

Permalink
0.7.17
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Nov 15, 2021
1 parent 0d126a9 commit d79e0cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import $file.example.websockets.build
import $file.example.websockets2.build
import $file.example.websockets3.build
import $file.example.websockets4.build
import $file.ci.version
import $file.ci.upload
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version_mill0.9:0.1.1`
import de.tobiasroeser.mill.vcs.version.VcsVersion
Expand Down Expand Up @@ -195,12 +194,12 @@ object example extends Module{
}


def publishVersion = T.input($file.ci.version.publishVersion)
def gitHead = T.input($file.ci.version.gitHead)

def uploadToGithub(authKey: String) = T.command{
val (releaseTag, label) = publishVersion()
val vcsState = VcsVersion.vcsState()

val releaseTag = vcsState.lastTag.getOrElse("")
val label = vcsState.format()
if (releaseTag == label){
requests.post(
"https://api.github.com/repos/lihaoyi/cask/releases",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Cask 0.7.16: a Scala HTTP micro-framework [![Build Status][travis-badge]][travis-link] [![Gitter Chat][gitter-badge]][gitter-link] [![Patreon][patreon-badge]][patreon-link]
Cask 0.7.17: a Scala HTTP micro-framework [![Build Status][travis-badge]][travis-link] [![Gitter Chat][gitter-badge]][gitter-link] [![Patreon][patreon-badge]][patreon-link]
============================================================================================================================================================================

[travis-badge]: https://travis-ci.org/lihaoyi/cask.svg
Expand Down Expand Up @@ -46,7 +46,7 @@ courtesy of EJ Technologies

## Changelog

### 0.7.16
### 0.7.17

- Fix example project zips

Expand Down

0 comments on commit d79e0cd

Please sign in to comment.