Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nesk committed Dec 20, 2024
1 parent acc4c07 commit c5abf89
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,16 @@ jobs:
# RELEASE_VERSION: ${{ inputs.version }}
RELEASE_VERSION: 0.99.0
run: |
sed -ri 's|version *= *".*|version = "'$RELEASE_VERSION'"|g' ./buildSrc/src/main/kotlin/akkurate.base-conventions.gradle.kts;
echo 'version = "'$RELEASE_VERSION'"' > ./buildSrc/src/main/kotlin/akkurate.version.gradle.kts;
sed -ri 's|CONFIG_JSON_VERSION *:.*|CONFIG_JSON_VERSION: '$RELEASE_VERSION'|g' ./.github/workflows/deploy-website.yml;
sed -ri 's|<var.* name="version".*|<var name="version" value="'$RELEASE_VERSION'"/>|g' ./documentation/v.list;
sed -ri 's|<instance.* src="akkurate.tree".*|<instance src="akkurate.tree" version="'$RELEASE_VERSION'"/>|g' ./documentation/writerside.cfg;
- run: git diff
# - name: Commit and push
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: release ${{ inputs.version }}
# branch: release/${{ inputs.version }}
# create_branch: true
# commit_author: Johann Pardanaud <[email protected]>
# tagging_message: ${{ inputs.version }}
- name: Commit and push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: release ${{ inputs.version }}
branch: release/${{ inputs.version }}
create_branch: true
commit_author: Johann Pardanaud <[email protected]>
tagging_message: ${{ inputs.version }}
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ imports.

## Testing

When making some changes to existing code, make sure **all the tests** still pass, and adapt them when needed.
When making some changes to existing code, make sure **all the tests** still pass by running `./gradlew allTests test`,
and adapt them when needed.

If you're fixing a bug, create a new test reproducing the bug to avoid future regressions.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
plugins {
id("akkurate.version")
id("com.adarshr.test-logger")
}

group = "dev.nesk.akkurate"
version = "0.11.0"

repositories {
mavenCentral()
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/akkurate.version.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version = "0.11.0"

0 comments on commit c5abf89

Please sign in to comment.