Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
fix publish and set version
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Feb 8, 2024
1 parent b558a45 commit cb66821
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
distribution: "temurin"
java-version: "20"
cache: "gradle"
- uses: gradle/gradle-build-action@v3
- uses: gradle/actions/setup-gradle@v3
with:
arguments: publish
gradle-version: "8.4"
env:
# GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
version=$(cd version && go run .)
gradle -Pversion=$version publish
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ fetch:
wget -O schema.yml https://raw.githubusercontent.com/goauthentik/authentik/master/schema.yml

debug:
docker run -it --rm -v $(pwd):/data -w /data --entrypoint /bin/bash docker.io/library/eclipse-temurin:20
docker run -it --rm -v ${PWD}:/data -w /data --entrypoint /bin/bash docker.io/library/eclipse-temurin:20
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
group 'io.goauthentik'
version '1.0.0'

wrapper {
gradleVersion = '7.5'
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version=1.0.0
2 changes: 1 addition & 1 deletion version/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module version
module goauthentik.io/api/v3/version

go 1.17

Expand Down

0 comments on commit cb66821

Please sign in to comment.