Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko committed Jan 29, 2024
1 parent 304a7db commit 28a7ee3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ module.exports = {
"@semantic-release/changelog",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
"@droidsolutions-oss/semantic-release-update-file",
{
step: [
'IFS="." read -r -a nums <<< "${${nextRelease.version}/-dev/}.0"',
'VERSIONCODE=$((nums[0] * 100000000 + nums[1] * 100000 + nums[2] * 100 + nums[3]))',
'sed -i "/^version/c\\version: $VERSION+$VERSIONCODE" pubspec.yaml',
'flutter build apk'
].join(" && "),
},
"files": [
{
"path": ["pubspec.yaml"],
"type": "flutter",
"branches": ["main", "dev"]
}
]
}
],
[
"@semantic-release/git",
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ homepage: https://github.com/ReVanced/revanced-manager

publish_to: 'none'

version: 1.19.0-dev.3+101900003
version: 1.18.0+101800000

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down

0 comments on commit 28a7ee3

Please sign in to comment.