diff --git a/.gitignore b/.gitignore index 5efecd4..853b4ed 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ config*.edn # lein ignores /target -pom.xml +pom.* # pybuilder ignores .pybuilder @@ -17,3 +17,4 @@ __pycache__ # ide ignores .calva/ +pom.xml.asc diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 17d7bcd..66b16c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -110,7 +110,7 @@ upload-cljs-release: - cp package.json target/npm-build/ - npm publish ./target/npm-build --access public -build: +image-test-publish: image: domaindrivenarchitecture/devops-build:latest stage: image rules: diff --git a/package.json b/package.json index 2d1cad7..b86d984 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mastodon-bot", "description": "Bot to publish twitter, tumblr or rss posts to an mastodon account.", "author": "Dmitri Sotnikov", - "version": "1.10.9", + "version": "1.10.10-SNAPSHOT", "homepage": "https://github.com/yogthos/mastodon-bot", "repository": "https://www.npmjs.com/package/mastodon-bot", "license": "MIT", diff --git a/project.clj b/project.clj index dd1f515..87e5ba7 100644 --- a/project.clj +++ b/project.clj @@ -13,4 +13,10 @@ ["releases" :clojars]] :profiles {:test {:test-paths ["src/test/cljc"] :resource-paths ["src/test/resources"] - :dependencies []}}) + :dependencies []}} + :release-tasks [["vcs" "assert-committed"] + ["change" "version" "leiningen.release/bump-version" "release"] + ["vcs" "commit"] + ["vcs" "tag"] + ["deploy"] + ["change" "version" "leiningen.release/bump-version"]])