Simplify releases

This commit is contained in:
Andrea Cavalli 2021-07-28 11:36:43 +02:00
parent bb4a6d32ca
commit 3368a3b1ec
3 changed files with 5 additions and 81 deletions

View File

@ -5,12 +5,10 @@ name: Maven Package
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
strategy:
matrix:
include:

View File

@ -2,14 +2,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>it.tdlight</groupId>
<artifactId>tdlib-java</artifactId>
<version>4.171.${revision}</version>
<version>1.7.6.${revision}</version>
<name>TDLib Java Wrapper</name>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>0-SNAPSHOT</revision>
<natives-version>3.3.57</natives-version>
<api-version>3.3.55</api-version>
<api-version>3.3.56</api-version>
</properties>
<repositories>
<repository>
@ -46,42 +45,6 @@
<artifactId>tdlight-api</artifactId>
<version>${api-version}</version>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlib-natives-linux-amd64</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlib-natives-linux-x86</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlib-natives-linux-aarch64</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlib-natives-linux-armv7</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlib-natives-windows-amd64</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlib-natives-osx-amd64</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.cavallium</groupId>
<artifactId>concurrent-locks</artifactId>

View File

@ -2,14 +2,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>it.tdlight</groupId>
<artifactId>tdlight-java</artifactId>
<version>4.171.${revision}</version>
<version>1.7.6.${revision}</version>
<name>TDLight Java Wrapper</name>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<revision>0-SNAPSHOT</revision>
<natives-version>3.3.57</natives-version>
<api-version>3.3.55</api-version>
<api-version>3.3.56</api-version>
</properties>
<repositories>
<repository>
@ -46,42 +45,6 @@
<artifactId>tdlight-api</artifactId>
<version>${api-version}</version>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlight-natives-linux-amd64</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlight-natives-linux-x86</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlight-natives-linux-aarch64</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlight-natives-linux-armv7</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlight-natives-windows-amd64</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.tdlight</groupId>
<artifactId>tdlight-natives-osx-amd64</artifactId>
<version>${natives-version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>it.cavallium</groupId>
<artifactId>concurrent-locks</artifactId>