• Stars
    star
    538
  • Rank 79,293 (Top 2 %)
  • Language
    Groovy
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Gradle release & version management plugin.

axion-release-plugin

gradle release and version management plugin

Build Status Coverage Status readthedocs Maven Central Gradle Plugin Portal

Releasing versions in Gradle is very different from releasing in Maven. Maven came with maven-release-plugin which did all the dirty work. Gradle has no such tool and probably doesn't need it anyway. Evolution of software craft came to the point, when we start thinking about SCM as ultimate source of truth about project version. Version should not be hardcoded in pom.xml or build.gradle.

axion-release-plugin embraces this philosophy. Instead of reading project version from buildfile, it is derived from nearest tag in SCM (or set to default if nothing was tagged). If current commit is tagged commit, project has a release version. If there were any commits after last tag, project is in SNAPSHOT version. This very simple and intuitive philosophy, alongside with Semantic Versioning rules, makes it a lot easier to manage project versions along SCM tag versions.

JDK11+ & Gradle 6+ required.

Basic usage

plugins {
    id 'pl.allegro.tech.build.axion-release' version '1.15.1'
}

project.version = scmVersion.version
$ git tag
<empty list>

$ ./gradlew currentVersion
0.1.0-SNAPSHOT

$ ./gradlew release

$ git tag
v0.1.0

$ ./gradlew cV
0.1.0

$ git add -A && git commit -m "Updates something" && ./gradlew release

$ git tag
v0.1.0
v0.1.1

$ ./gradlew cV
0.1.1

Documentation

Documentation is available at axion-release read the docs.

License

axion-release-plugin is published under Apache License 2.0.

More Repositories

1

bigcache

Efficient cache for gigabytes of data written in Go.
Go
7,122
star
2

ralph

Ralph is the CMDB / Asset Management system for data center and back office hardware.
Python
2,121
star
3

tipboard

Tipboard - in-house, tasty, local dashboarding system
JavaScript
1,105
star
4

php-protobuf

PHP Protobuf - Google's Protocol Buffers for PHP
PHP
912
star
5

hermes

Fast and reliable message broker built on top of Kafka.
Java
787
star
6

allRank

allRank is a framework for training learning-to-rank neural models based on PyTorch.
Python
775
star
7

turnilo

Business intelligence, data exploration and visualization web application for Druid, formerly known as Swiv and Pivot
TypeScript
698
star
8

node-worker-nodes

A node.js library to run cpu-intensive tasks in a separate processes and not block the event loop.
JavaScript
484
star
9

typescript-strict-plugin

Typescript plugin that allows turning on strict mode in specific files or directories.
TypeScript
302
star
10

json-avro-converter

JSON to Avro conversion tool designed to make migration to Avro easier.
Groovy
270
star
11

embedded-elasticsearch

Tool that ease up creation of integration tests with Elasticsearch
Java
269
star
12

vaas

VaaS
Python
229
star
13

grunt-maven-plugin

Grunt + Maven integration done right
Java
214
star
14

allegro-api

Issue tracker and wiki for Allegro REST API
206
star
15

tradukisto

A Java i18n library created to convert numbers to their word representations.
Groovy
195
star
16

marathon-consul

Integrates Marathon apps with Consul service discovery.
Go
189
star
17

restapi-guideline

Allegro REST API Guideline.
CSS
174
star
18

bigflow

A Python framework for data processing on GCP.
Python
114
star
19

handlebars-spring-boot-starter

Spring Boot auto-configuration for Handlebars
Groovy
109
star
20

envoy-control

Envoy Control is a platform-agnostic, production-ready Control Plane for Service Mesh based on Envoy Proxy.
Kotlin
96
star
21

akubra

Simple solution to keep a independent S3 storages in sync
Go
85
star
22

elasticsearch-analysis-morfologik

Morfologik Polish Lemmatizer plugin for Elasticsearch
Java
81
star
23

ecto-cursor-based-stream

Elixir library that allows for cursor-based streaming of Ecto records, that does not require database transaction.
Elixir
71
star
24

opel

OPEL - asynchronous expression language
Java
66
star
25

HerBERT

HerBERT is a BERT-based Language Model trained on Polish Corpora using only MLM objective with dynamic masking of whole words.
60
star
26

fogger

Fogger - a library to create blurred background under Android's UI elements
Java
60
star
27

mesos-executor

Customizable Apache Mesos task executor
Go
49
star
28

selena

SELENA is a tool used to test website performance by measuring response times or verifying the content of replies.
JavaScript
45
star
29

elasticsearch-reindex-tool

Elasticsearch reindexing tool.
Java
44
star
30

kafka-offset-monitor-graphite

Graphite reporter for Kafka Offset Monitor.
Scala
44
star
31

cassandra-modeling-kata

Cassandra Modeling Kata
Java
37
star
32

dotnet-utils

C#
33
star
33

swift-junit

A Swift library for creating JUnit XML test results that can be interpreted by tools such as Bamboo or Jenkins. Macos and Linux ready.
Swift
29
star
34

slinger

Slinger - deep linking library for Android
Java
28
star
35

django-powerdns-dnssec

Django application managing PowerDNS database
Python
27
star
36

ralph-cli

Command-line interface for the Ralph system.
Go
26
star
37

mongo-migration-stream

Tool for online migrations of MongoDB databases.
Kotlin
26
star
38

allms

A versatile and powerful library designed to streamline the process of querying LLMs
Python
26
star
39

allegro.tech

TypeScript
23
star
40

hacktoberfest-dashboard

Allegro Hactoberfest activity dashboard
TypeScript
21
star
41

quanta

Fast image optimization as a service, based on mozjpeg, written in Swift
C
21
star
42

klejbenchmark-baselines

Fine-tuning scripts for evaluating transformer-based models on KLEJ benchmark.
Python
20
star
43

bigcache-bench

Benchmarks for BigCache project
Go
20
star
44

pyhermes

The Python interface to the Hermes message broker.
Python
19
star
45

swiftbox

SwiftBox is a package that helps building Swift/Vapor microservices.
Swift
19
star
46

json-logic-kmp

Kotlin multiplatform JsonLogic expressions evaluation engine. Targets iOS and JVM (also Android).
Kotlin
19
star
47

consul-registration-hook

Hook that can be used for synchronous registration and deregistration in Consul discovery service on Kubernetes or Mesos cluster with Allegro executor
Go
18
star
48

marathon-appcop

Marathon applications law enforcement
Go
18
star
49

newrelic-gradle-plugin

Newrelic Gradle plugin.
Groovy
17
star
50

map-with-indifferent-access

Elixir
17
star
51

grunt-maven-npm

npm tasks for grunt-maven-plugin 1.2+
JavaScript
16
star
52

leader-only-spring-boot-starter

Java
15
star
53

redux-storage-decorator-engines

Composing decorator for redux-storage to use different storage types
JavaScript
15
star
54

spunit

Spunit – Spock elegance in Kotlin JUnit 5 tests
Kotlin
14
star
55

cosmosdb-utils

A collection of useful Azure CosmosDb SDK v3 extensions and utilities, developed as part of Allegro Pay product.
C#
13
star
56

envoy-perf-pprof

Convenient Envoy on-CPU performance analysis with perf and pprof.
Dockerfile
13
star
57

prometheus-net-metrics

C#
12
star
58

dotnet-sdk

C#
12
star
59

camus-compressor

Camus Compressor merges files created by Camus and saves them in a compressed format.
Java
12
star
60

consul-recipes

Java library for interacting with Consul.
Java
12
star
61

blog

SCSS
11
star
62

ralph_pricing

A pricing module for Ralph
Python
11
star
63

solr-fast-collapsing-query-parser

Java
9
star
64

inkpy-jinja

Generate PDF documents from ODT templates.
Python
8
star
65

allegro-tech-labs-microservices

Allegro Tech Labs Microservices workshop materials
Java
8
star
66

klejbenchmark-allegroreviews

Allegro Reviews is a sentiment analysis dataset, consisting of 11,588 product reviews written in Polish and extracted from Allegro.pl - a popular e-commerce marketplace.
8
star
67

TypedListAdapter

Kotlin
7
star
68

logextractx

Python
7
star
69

solr-ids-export-plugin

Java
6
star
70

django-bob

Django bob is a set of django helpers, widgets and form filters for Ralph DCIM/CMDB project .
JavaScript
6
star
71

toper

PHP Rest client based on popular Guzzle Rest Client.
PHP
6
star
72

atm-event-app

ATM event application
JavaScript
5
star
73

application-insights

5
star
74

graphql-extended-audit-intstrumentation

Java
5
star
75

votakvot

Python
5
star
76

banana-split

JavaScript
5
star
77

warsztaty-podstawy-ml-03-2019

Machine learning basics workshop
Jupyter Notebook
4
star
78

selena-agent

Agent for Selena
Python
4
star
79

vaas-registration-hook

Go
3
star
80

swiftbox-config

Swift
3
star
81

braincode

HTML
3
star
82

oauth-mock

Kotlin
3
star
83

atm-hero-generator

JavaScript
2
star
84

swiftbox-metrics-statsd

Swift
2
star
85

eslint-plugin-test-comments

TypeScript
2
star
86

client-side-logic-dsl

Kotlin
2
star
87

parallel-test-execution-workshop

Resources for Parallel test execution workshop
Groovy
2
star
88

couchbase-commons

Kotlin
1
star
89

ml

TypeScript
1
star
90

hermes-page

Hermes OpenSource page.
HTML
1
star
91

json-cache

Java
1
star
92

swiftbox-logging

Swift
1
star
93

podcast.allegro.tech

CSS
1
star
94

axion-release-example

Kotlin
1
star
95

jobs-conf

allegro.tech jobs postings
HTML
1
star
96

allegro-tech-labs-iot

Allegro Tech Labs IoT workshop materials
Python
1
star
97

versionlens.nvim

1
star