Skip to content

Commit

Permalink
Prepared first release 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Jun 22, 2020
1 parent 4f33dee commit 54d541a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,14 @@ jobs:
if: ${{ matrix.os != 'windows-latest' }}
- run: ./millw.bat -i -j 0 -k __.testCached
if: ${{ matrix.os == 'windows-latest' }}

- name: Setup GPG secrets
if: ${{ matrix.os == env.PUBLISH_OS }}
run: |
gpg --version
cat <(echo "${{ secrets.GPG_SECRET_KEY }}") | base64 --decode | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- name: Publish to Maven Central
if: ${{ matrix.os == env.PUBLISH_OS && matrix.java-version == env.PUBLISH_JAVA_VERSION && github.ref == env.PUBLISH_BRANCH && github.event_name == 'push' }}
run: ./millw -i mill.scalalib.PublishModule/publishAll --sonatypeCreds "${{ secrets.SONATYPE_CREDS }}" --gpgArgs "--passphrase=${{ secrets.GPG_SECRET_KEY_PASS}},--batch,--yes,-a,-b,--pinentry-mode,loopback" --publishArtifacts __.publishArtifacts --readTimeout 600000 --release true --signed true
5 changes: 5 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
Mill plugin to derive a version from (last) git tag and edit state.
It may support other VCS as well.

== Releases / Changelog

=== mill-vsc-version 0.0.1 - 2020-06-22

* Initial Release, intended for internal/test usage
2 changes: 1 addition & 1 deletion build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ trait BaseModule extends CrossScalaModule with PublishModule {
Agg(ivy"${scalaOrganization()}:scala-library:${scalaVersion()}")
}

def publishVersion = "0.0.0-SNAPSHOT"
def publishVersion = "0.0.1" // TODO: use git-based version, eat own dog food

override def javacOptions = Seq("-source", "1.8", "-target", "1.8")
override def scalacOptions = Seq("-target:jvm-1.8")
Expand Down

0 comments on commit 54d541a

Please sign in to comment.