File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish
2+ on :
3+ release :
4+ types : [released, prereleased]
5+ jobs :
6+ publish :
7+ name : Release build and publish
8+ runs-on : macOS-latest
9+ steps :
10+ - name : Check out code
11+ uses : actions/checkout@v4
12+ - name : Set up JDK 21
13+ uses : actions/setup-java@v4
14+ with :
15+ java-version : 21
16+ distribution : ' temurin'
17+ - name : Publish to MavenCentral
18+ # the publication plugin does not support it
19+ # see: https://github.com/gradle/gradle/issues/22779
20+ run : ./gradlew publishToMavenCentral --no-configuration-cache
21+ env :
22+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
23+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
24+ ORG_GRADLE_PROJECT_signingInMemoryKeyId : ${{ secrets.SIGNING_KEY_ID }}
25+ ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.SIGNING_PASSWORD }}
26+ ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_KEY_CONTENTS }}
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*' # Triggers on version tags like v1.0.0, v2.1.3, etc.
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ release :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+
19+ - name : Create Release
20+ uses : softprops/action-gh-release@v2
21+ # TODO may need to validate this!
22+ with :
23+ tag_name : ${{ github.ref_name }}
24+ name : Release ${{ github.ref_name }}
25+ draft : false
26+ prerelease : false
27+ generate_release_notes : true
Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ All notable changes to this project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
6+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7+
8+ ## [ 0.1.0] - 2025-06-13
9+
10+ This is the initial release of Kulid!
11+
12+ ### Added
13+ - Ability to generate a ULID, either with the current time or any valid timestamp.
You can’t perform that action at this time.
0 commit comments