Skip to content

Commit

Permalink
bumb version
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedsaheed committed Jun 28, 2022
1 parent b141e59 commit ed9895b
Show file tree
Hide file tree
Showing 8 changed files with 249 additions and 7 deletions.
Binary file modified .gradle/7.4/executionHistory/executionHistory.lock
Binary file not shown.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group 'org.example'
version '1.0-SNAPSHOT'
version '1.0'

downloadLicenses {
dependencyConfiguration = 'implementation'
Expand Down
8 changes: 4 additions & 4 deletions build/jreleaser/output.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#JReleaser 1.0.0
#Tue Jun 28 16:10:55 IST 2022
commitFullHash=c06da517cecb282392770f7c20fc491b78d6f68c
commitShortHash=c06da51
#Tue Jun 28 16:11:51 IST 2022
commitFullHash=b141e5982dc4ecf71f949ca31ac2f3f34235fb3a
commitShortHash=b141e59
javaVersion=17.0.1
milestoneName=early-access
platform=osx-x86_64
Expand All @@ -15,4 +15,4 @@ projectVersionNumber=1.0
projectVersionTag=SNAPSHOT
releaseName=Release v1.0.0
tagName=early-access
timestamp=2022-06-28T16\:10\:55.65573+01\:00
timestamp=2022-06-28T16\:11\:44.124288+01\:00
25 changes: 25 additions & 0 deletions build/jreleaser/package/app/brew/Formula/quranCLI.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated with JReleaser 1.0.0 at 2022-06-28T16:11:44.124288+01:00
class App < Formula
desc "A simple tool to Read, Search and Recite the Quran."
homepage "https://github.com/ahmedsaheed/quranCLI"
url "https://github.com/ahmedsaheed/quranCLI/releases/download/early-access/quranCLI-1.0-SNAPSHOT.zip"
version "1.0-SNAPSHOT"
sha256 "6de429b313feebfd323055bdb05da3d2806281690d4d8f73ab116ada79630f3a"
license "Apache-2.0"

depends_on :key1 => "value1"
depends_on "key2" => "value2"
depends_on :key3
depends_on "key4"
depends_on "openjdk@17"

def install
libexec.install Dir["*"]
bin.install_symlink "#{libexec}/bin/quranCLI" => "quranCLI"
end

test do
output = shell_output("#{bin}/quranCLI --version")
assert_match "1.0-SNAPSHOT", output
end
end
48 changes: 48 additions & 0 deletions build/jreleaser/package/app/brew/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Homebrew

## Formulae
Invoke either of the following commands if the formula is hosted at GitHub

```sh
$ brew install ahmedsaheed/tap/<formula>
```

Or

```sh
$ brew tap ahmedsaheed/tap
$ brew install <formula>
```

Invoke the following command if the formula is *not* hosted at GitHub

```sh
brew tap ahmedsaheed/homebrew-tap
brew install <formula>
```

## Casks
Invoke either of the following commands if the cask is hosted at GitHub

```sh
$ brew install --cask ahmedsaheed/tap/<cask>
```

Or

```sh
$ brew tap ahmedsaheed/tap
$ brew install --cask <cask>
```

Invoke the following command if the cask is *not* hosted at GitHub

```sh
brew tap ahmedsaheed/homebrew-tap
brew install --cask <formula>
```

If you get a dialog stating the cask is broken try installing with `--no-quarantine`.

## Documentation
`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).
25 changes: 25 additions & 0 deletions build/jreleaser/prepare/app/brew/Formula/quranCLI.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated with JReleaser 1.0.0 at 2022-06-28T16:11:44.124288+01:00
class App < Formula
desc "A simple tool to Read, Search and Recite the Quran."
homepage "https://github.com/ahmedsaheed/quranCLI"
url "https://github.com/ahmedsaheed/quranCLI/releases/download/early-access/quranCLI-1.0-SNAPSHOT.zip"
version "1.0-SNAPSHOT"
sha256 "6de429b313feebfd323055bdb05da3d2806281690d4d8f73ab116ada79630f3a"
license "Apache-2.0"

depends_on :key1 => "value1"
depends_on "key2" => "value2"
depends_on :key3
depends_on "key4"
depends_on "openjdk@17"

def install
libexec.install Dir["*"]
bin.install_symlink "#{libexec}/bin/quranCLI" => "quranCLI"
end

test do
output = shell_output("#{bin}/quranCLI --version")
assert_match "1.0-SNAPSHOT", output
end
end
48 changes: 48 additions & 0 deletions build/jreleaser/prepare/app/brew/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Homebrew

## Formulae
Invoke either of the following commands if the formula is hosted at GitHub

```sh
$ brew install ahmedsaheed/tap/<formula>
```

Or

```sh
$ brew tap ahmedsaheed/tap
$ brew install <formula>
```

Invoke the following command if the formula is *not* hosted at GitHub

```sh
brew tap ahmedsaheed/homebrew-tap
brew install <formula>
```

## Casks
Invoke either of the following commands if the cask is hosted at GitHub

```sh
$ brew install --cask ahmedsaheed/tap/<cask>
```

Or

```sh
$ brew tap ahmedsaheed/tap
$ brew install --cask <cask>
```

Invoke the following command if the cask is *not* hosted at GitHub

```sh
brew tap ahmedsaheed/homebrew-tap
brew install --cask <formula>
```

If you get a dialog stating the cask is broken try installing with `--no-quarantine`.

## Documentation
`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).
100 changes: 98 additions & 2 deletions build/jreleaser/trace.log
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,103 @@ distributions:

[INFO] Project version set to 1.0-SNAPSHOT
[INFO] Release is snapshot
[INFO] Timestamp is 2022-06-28T16:10:55.65573+01:00
[INFO] HEAD is at c06da51
[INFO] Timestamp is 2022-06-28T16:11:44.124288+01:00
[INFO] HEAD is at b141e59
[INFO] Platform is osx-x86_64
[INFO] dry-run set to false
[DEBUG] resolving commits
[DEBUG] looking for tag that matches 'early-access'
[DEBUG] looking for previous tag 'v0.9.0'
[DEBUG] found tag early-access
[DEBUG] sorting commits DESC
[DEBUG] looking up user for Ahmed Saheed <ahmedsaheed2@outlook.com>
[INFO] Generating changelog: build/jreleaser/release/CHANGELOG.md
[DEBUG] #Changelog


## Contributors
We'd like to thank the following people for their contributions:
- Ahmed Saheed ([@ahmedsaheed](https://github.com/ahmedsaheed))
[INFO] Calculating checksums
[DEBUG] [checksum] reading build/jreleaser/checksums/app/quranCLI-1.0-SNAPSHOT.zip.sha256
[INFO] [checksum] All checksums are up-to-date. Skipping
[INFO] Signing files
[INFO] [sign] Signing is not enabled. Skipping
[INFO] Uploading is not enabled. Skipping
[INFO] Releasing to https://github.com/ahmedsaheed/quranCLI
[DEBUG] looking up release with tag early-access at repository ahmedsaheed/quranCLI
[DEBUG] fetching release on ahmedsaheed/quranCLI with tag early-access
[DEBUG] release early-access exists
[DEBUG] deleting release early-access
[DEBUG] creating release early-access
[DEBUG] deleting tag early-access from ahmedsaheed/quranCLI
[DEBUG] tagging local repository with early-access
[DEBUG] creating release on ahmedsaheed/quranCLI with tag early-access
[INFO] - uploading quranCLI-1.0-SNAPSHOT.zip
[INFO] - uploading checksums_sha256.txt
[INFO] Preparing distributions
[INFO] - Preparing app distribution
[INFO] [brew] preparing app distribution
[DEBUG] [brew] creating props for app/brew
[DEBUG] [brew] filling distribution properties into props
[DEBUG] [brew] filling git properties into props
[DEBUG] [brew] filling artifact properties into props
[DEBUG] [brew] filling packager properties into props
[DEBUG] [brew] resolving templates for app/brew
[DEBUG] [brew] resolving templates from classpath
[DEBUG] [brew] resolving template from classpath for java-binary.brew-snapshot
[DEBUG] [brew] resolving template from classpath for java-binary.brew
[DEBUG] [brew] resolving template from classpath for java-binary/brew/cask.rb.tpl
[DEBUG] [brew] resolving template from classpath for java-binary/brew/README.md.tpl
[DEBUG] [brew] resolving template from classpath for java-binary/brew/formula.rb.tpl
[DEBUG] [brew] evaluating template cask.rb.tpl for app/brew
[DEBUG] [brew] writing template cask.rb.tpl for app/brew
[DEBUG] [brew] evaluating template README.md.tpl for app/brew
[DEBUG] [brew] writing template README.md.tpl for app/brew
[DEBUG] [brew] evaluating template formula.rb.tpl for app/brew
[DEBUG] [brew] writing template formula.rb.tpl for app/brew
[DEBUG] [brew] copying license files
[DEBUG] [chocolatey] skipping for app distribution
[DEBUG] [docker] skipping for app distribution
[DEBUG] [gofish] skipping for app distribution
[DEBUG] [jbang] skipping for app distribution
[DEBUG] [macports] skipping for app distribution
[DEBUG] [scoop] skipping for app distribution
[DEBUG] [sdkman] skipping for app distribution
[DEBUG] [snap] skipping for app distribution
[DEBUG] [spec] skipping for app distribution
[INFO] Packaging distributions
[INFO] - Packaging app distribution
[INFO] [brew] packaging app distribution
[DEBUG] [brew] creating props for app/brew
[DEBUG] [brew] filling distribution properties into props
[DEBUG] [brew] filling git properties into props
[DEBUG] [brew] filling artifact properties into props
[DEBUG] [brew] filling packager properties into props
[DEBUG] [brew] copying files from /Users/ahmedsaheed/Desktop/Desktop/quranCLI/build/jreleaser/prepare/app/brew to /Users/ahmedsaheed/Desktop/Desktop/quranCLI/build/jreleaser/package/app/brew
[DEBUG] [chocolatey] skipping for app distribution
[DEBUG] [docker] skipping for app distribution
[DEBUG] [gofish] skipping for app distribution
[DEBUG] [jbang] skipping for app distribution
[DEBUG] [macports] skipping for app distribution
[DEBUG] [scoop] skipping for app distribution
[DEBUG] [sdkman] skipping for app distribution
[DEBUG] [snap] skipping for app distribution
[DEBUG] [spec] skipping for app distribution
[INFO] Publishing distributions
[INFO] - Publishing app distribution
[INFO] [brew] publishing app distribution
[INFO] [brew] publication of snapshots is not allowed. Skipping.
[DEBUG] [chocolatey] skipping for app distribution
[DEBUG] [docker] skipping for app distribution
[DEBUG] [gofish] skipping for app distribution
[DEBUG] [jbang] skipping for app distribution
[DEBUG] [macports] skipping for app distribution
[DEBUG] [scoop] skipping for app distribution
[DEBUG] [sdkman] skipping for app distribution
[DEBUG] [snap] skipping for app distribution
[DEBUG] [spec] skipping for app distribution
[INFO] Announcing release
[INFO] Announcing is not enabled. Skipping
[INFO] Writing output properties to build/jreleaser/output.properties
[INFO] JReleaser succeeded after 7.061 s

0 comments on commit ed9895b

Please sign in to comment.