Skip to content

Commit

Permalink
Move library to app.opendocument group
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jan 6, 2024
1 parent cd07da3 commit ae388cd
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
# with:
# A branch is required for post release version increment commit
ref: ${{ github.event.ref }}
# ref: ${{ github.event.ref }}
- uses: actions/setup-java@v4
with:
distribution: temurin
Expand All @@ -60,32 +60,32 @@ jobs:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASS: ${{ secrets.SIGNING_PASS }}

- run: ./ci-scripts/updateDownstreamVersion
id: updateDownstreamVersion

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update version in README.md (${{ steps.updateDownstreamVersion.outputs.version }})"
file_pattern: ${{ steps.updateDownstreamVersion.outputs.files }}

- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: "v${{ steps.updateDownstreamVersion.outputs.version }}"
name: "${{ github.event.repository.name }} v${{ steps.updateDownstreamVersion.outputs.version }}"
bodyFile: "UpcomingReleaseNotes.md"

- run: ./ci-scripts/incrementVersion --patch
id: postReleaseVersionIncrement

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Post release library version increment to ${{ steps.postReleaseVersionIncrement.outputs.newVersion }} (from ${{ steps.postReleaseVersionIncrement.outputs.oldVersion }})"
file_pattern: ${{ steps.postReleaseVersionIncrement.outputs.files }}

- run: echo -n > UpcomingReleaseNotes.md
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Post release truncation of UpcomingReleaseNotes.md"
file_pattern: UpcomingReleaseNotes.md
# - run: ./ci-scripts/updateDownstreamVersion
# id: updateDownstreamVersion
#
# - uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "Update version in README.md (${{ steps.updateDownstreamVersion.outputs.version }})"
# file_pattern: ${{ steps.updateDownstreamVersion.outputs.files }}
#
# - name: Create GitHub Release
# uses: ncipollo/release-action@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# tag: "v${{ steps.updateDownstreamVersion.outputs.version }}"
# name: "${{ github.event.repository.name }} v${{ steps.updateDownstreamVersion.outputs.version }}"
# bodyFile: "UpcomingReleaseNotes.md"
#
# - run: ./ci-scripts/incrementVersion --patch
# id: postReleaseVersionIncrement
#
# - uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "Post release library version increment to ${{ steps.postReleaseVersionIncrement.outputs.newVersion }} (from ${{ steps.postReleaseVersionIncrement.outputs.oldVersion }})"
# file_pattern: ${{ steps.postReleaseVersionIncrement.outputs.files }}
#
# - run: echo -n > UpcomingReleaseNotes.md
# - uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "Post release truncation of UpcomingReleaseNotes.md"
# file_pattern: UpcomingReleaseNotes.md
5 changes: 5 additions & 0 deletions pdf2htmlEX/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ publishing {
distribution = 'repo'
}
}
distributionManagement {
relocation {
groupId.set("app.opendocument")
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
import java.io.IOException;


/**
* @deprecated This library is now part of OpenDocument App group.
* Edit your build.gradle to depend on
* implementation("app.opendocument:pdf2htmlex-android:+")
* instead of
* implementation("com.viliussutkus89:pdf2htmlex-android:+")
*/
@Deprecated
@SuppressWarnings("unused")
public class pdf2htmlEX implements Closeable {
public static class ConversionFailedException extends Exception {
Expand Down

0 comments on commit ae388cd

Please sign in to comment.