diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..6e97d19 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Release + +on: + push: + branches: + - master + +env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + +jobs: + # TODO: test + release: + runs-on: ubuntu-18.04 + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - uses: actions/setup-java@v1 + with: + java-version: 11 + + - name: Setup git config + run: | + git config user.name "CI" + git config user.email "<>" + + - name: release + run: lein release diff --git a/pom.xml b/pom.xml index 1de0aa2..77f3145 100644 --- a/pom.xml +++ b/pom.xml @@ -1,9 +1,10 @@ - + + 4.0.0 adb java.data jar - 0.1.2-SNAPSHOT + 0.1.2 java.data A fork of java.data with fixes for JAXB source generation issues. @@ -12,15 +13,14 @@ - scm:git:git://github.com/dkmarley/java.data.git - scm:git:ssh://git@github.com/dkmarley/java.data.git - a6eee35cc7088d09c63a70111893dce9c1983a0d - - https://github.com/dkmarley/java.data + https://github.com/MultiQuote/java.data + scm:git:git://github.com/MultiQuote/java.data.git + scm:git:ssh://git@github.com/MultiQuote/java.data.git + 2063d9201d56c6335c9fe538d5a4e951952c6cee src/main/clojure - test + src/test/clojure resources @@ -33,7 +33,27 @@ target target/classes - + + + org.codehaus.mojo + build-helper-maven-plugin + 1.7 + + + add-test-source + generate-test-sources + + add-test-source + + + + src/test/java + + + + + + @@ -48,7 +68,7 @@ clojars - https://clojars.org/repo/ + https://repo.clojars.org/ true diff --git a/project.clj b/project.clj new file mode 100644 index 0000000..b52231a --- /dev/null +++ b/project.clj @@ -0,0 +1,17 @@ +(defproject adb/java.data "0.1.3-SNAPSHOT" + :description "A fork of java.data with fixes for JAXB source generation issues." + :license {:name "Eclipse Public License"} + :dependencies [[org.clojure/clojure "1.8.0"] + [org.clojure/tools.logging "0.4.0"]] + :plugins [[s3-wagon-private "1.3.4"]] + :deploy-repositories [["releases" {:url "s3p://elcom-maven-repo/release/" :no-auth true :sign-releases false}]] + :source-paths ["src/main/clojure"] + :test-paths ["src/test/clojure" "src/test/java"] + :release-tasks [["vcs" "assert-committed"] + ["change" "version" "leiningen.release/bump-version" "release"] + ["vcs" "commit" "Version %s"] + ["vcs" "tag" "--no-sign"] + ["deploy"] + ["change" "version" "leiningen.release/bump-version"] + ["vcs" "commit" "Bumping version to %s"] + ["vcs" "push"]])