Compare commits
3 commits
f7a787485f
...
4ba5ac9284
Author | SHA1 | Date | |
---|---|---|---|
4ba5ac9284 | |||
057bdfd9c9 | |||
0c5e5ca00a |
3 changed files with 10 additions and 3 deletions
|
@ -18,5 +18,6 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
export XDG_CONFIG_HOME=$PWD/.config
|
export XDG_CONFIG_HOME=$PWD/.config
|
||||||
export GITEA_SERVER_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
export GITEA_SERVER_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
||||||
|
mv ./artifact/keycloak-scim.jar ./artifact/keycloak-scim-${{ github.ref_name }}.jar
|
||||||
tea login add --url ${{ env.GITHUB_SERVER_URL }}
|
tea login add --url ${{ env.GITHUB_SERVER_URL }}
|
||||||
tea release create --asset ./artifact/keycloak-scim.jar --note "$(git-cliff -s all --current)" --repo "${{ github.repository }}" --tag "${{ github.ref_name }}" --title "${{ github.ref_name }}"
|
tea release create --asset ./artifact/keycloak-scim-${{ github.ref_name }}.jar --note "$(git-cliff -s all --current)" --repo "${{ github.repository }}" --tag "${{ github.ref_name }}" --title "${{ github.ref_name }}"
|
||||||
|
|
|
@ -20,7 +20,13 @@
|
||||||
{
|
{
|
||||||
packages.default = pkgs.maven.buildMavenPackage rec {
|
packages.default = pkgs.maven.buildMavenPackage rec {
|
||||||
pname = "keycloak-scim";
|
pname = "keycloak-scim";
|
||||||
version = "1.0-SNAPSHOT";
|
version = (
|
||||||
|
builtins.readFile (
|
||||||
|
pkgs.runCommand "version" { } ''
|
||||||
|
${pkgs.coreutils}/bin/cat ${src}/pom.xml | ${pkgs.xq-xml}/bin/xq -x "project/version" | ${pkgs.coreutils}/bin/tr -d '\n' > $out
|
||||||
|
''
|
||||||
|
)
|
||||||
|
);
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
mvnHash = "sha256-y3ASPCAbgwSJNu4NiBeWNFc8YA903C0e5z0/TSlc3Og=";
|
mvnHash = "sha256-y3ASPCAbgwSJNu4NiBeWNFc8YA903C0e5z0/TSlc3Og=";
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<groupId>sh.libre.scim</groupId>
|
<groupId>sh.libre.scim</groupId>
|
||||||
<artifactId>keycloak-scim</artifactId>
|
<artifactId>keycloak-scim</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0.0-rc.0</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
Loading…
Reference in a new issue