Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Funkwhale Android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
funkwhale
Funkwhale Android
Commits
43a7a10d
Commit
43a7a10d
authored
3 years ago
by
Ryan Harg
Browse files
Options
Downloads
Plain Diff
Merge branch 'enhancement/97-fix-release-script' into 'develop'
#97
: Fix typo and move validation before changelog creation See merge request
!111
parents
5d2556ca
5231798d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!111
#97: Fix typo and move validation before changelog creation
Pipeline
#16464
passed
3 years ago
Stage: test
Stage: visualize
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dist/create-release.sh
+6
-6
6 additions, 6 deletions
dist/create-release.sh
with
6 additions
and
6 deletions
dist/create-release.sh
+
6
−
6
View file @
43a7a10d
...
@@ -61,12 +61,6 @@ fi
...
@@ -61,12 +61,6 @@ fi
TAG
=
"
$1
"
TAG
=
"
$1
"
MESSAGE
=
"Creating release version
$TAG
"
MESSAGE
=
"Creating release version
$TAG
"
echo
"Compiling the changelog..."
towncrier build
--version
"
$TAG
"
--date
$(
date
+
"%Y-%m-%d"
)
git add CHANGELOG
git comit
--message
"Update changelog for version
$TAG
"
# Validate that git tag doesn't already exist
# Validate that git tag doesn't already exist
git fetch
--all
--tags
git fetch
--all
--tags
if
[
"
$(
git tag
-l
|
grep
-e
"^
$TAG
$"
)
"
!=
''
]
;
then
if
[
"
$(
git tag
-l
|
grep
-e
"^
$TAG
$"
)
"
!=
''
]
;
then
...
@@ -74,6 +68,12 @@ if [ "$(git tag -l | grep -e "^$TAG$")" != '' ]; then
...
@@ -74,6 +68,12 @@ if [ "$(git tag -l | grep -e "^$TAG$")" != '' ]; then
exit
1
exit
1
fi
fi
echo
"Compiling the changelog..."
towncrier build
--version
"
$TAG
"
--date
$(
date
+
"%Y-%m-%d"
)
git add CHANGELOG
git commit
--message
"Update changelog for version
$TAG
"
# Write versionCode and versionName to a file that F-Droid can parse
# Write versionCode and versionName to a file that F-Droid can parse
echo
"versionCode =
$(
version_code
"
${
TOKENS
[@]
}
"
)
echo
"versionCode =
$(
version_code
"
${
TOKENS
[@]
}
"
)
versionName =
$TAG
"
>
fdroidversion.txt
versionName =
$TAG
"
>
fdroidversion.txt
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment