This commit is contained in:
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@@ -33,7 +33,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Release with semantic-release
|
- name: Release with semantic-release
|
||||||
env:
|
env:
|
||||||
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }}
|
||||||
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
|
||||||
run: |
|
run: |
|
||||||
npx semantic-release
|
npx semantic-release
|
||||||
@@ -1,11 +1,15 @@
|
|||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
<settings>
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
|
|
||||||
<servers>
|
<servers>
|
||||||
<server>
|
<server>
|
||||||
<id>maven-releases</id>
|
<id>gitea</id>
|
||||||
<username>${env.MAVEN_USERNAME}</username>
|
<configuration>
|
||||||
<password>${env.MAVEN_PASSWORD}</password>
|
<httpHeaders>
|
||||||
|
<property>
|
||||||
|
<name>Authorization</name>
|
||||||
|
<value>token {access_token}</value>
|
||||||
|
</property>
|
||||||
|
</httpHeaders>
|
||||||
|
</configuration>
|
||||||
</server>
|
</server>
|
||||||
</servers>
|
</servers>
|
||||||
</settings>
|
</settings>
|
||||||
4
pom.xml
4
pom.xml
@@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>maven-releases</id>
|
<id>gitea</id>
|
||||||
<url>https://maven.tools.ldpt.fr/releases</url>
|
<url>https://git.tools.ldpt.fr/api/packages/galaxies/maven</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user