Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
  • Loading branch information
zeitlinger committed Oct 16, 2024
1 parent 73e889b commit 4c031d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 21 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,10 @@ jobs:
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
#- name: Install Dart Sass
# run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Build client_java
run: ./mvnw -B clean install -DskipTests
run: ./mvnw -B clean install -DskipTests -P release
- name: Make Javadoc
run: ./mvnw -B clean compile javadoc:javadoc javadoc:aggregate
run: ./mvnw -B clean compile javadoc:javadoc javadoc:aggregate -P release
- name: Move the Javadoc to docs/static/api/
run: mv ./target/reports/apidocs ./docs/static/api && echo && echo 'ls ./docs/static/api' && ls ./docs/static/api
- name: Setup Pages
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Debug gpg key - remove after debugging
run: |
echo "$GPG_SIGNING_KEY" | gpg --batch --import-options import-show --import
- name: Checkout Plugin Repository
uses: actions/checkout@v4

Expand Down
20 changes: 8 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,14 @@
</excludePackageNames>
<source>8</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -361,18 +369,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
Expand Down

0 comments on commit 4c031d3

Please sign in to comment.