Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Sinologie Anki Pack
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
kartenaale
Sinologie Anki Pack
Commits
af48aa15
Commit
af48aa15
authored
10 months ago
by
Philipp Stadler
Browse files
Options
Downloads
Patches
Plain Diff
chore: configurable release dir stem and version
parent
6df43fe2
No related branches found
No related tags found
1 merge request
!133
Feat/external build
Pipeline
#13764
passed
10 months ago
Stage: release
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
make/changelogs.mk
+1
-1
1 addition, 1 deletion
make/changelogs.mk
make/release.mk
+2
-2
2 additions, 2 deletions
make/release.mk
with
6 additions
and
3 deletions
.gitignore
+
3
−
0
View file @
af48aa15
...
@@ -13,3 +13,6 @@ generated
...
@@ -13,3 +13,6 @@ generated
artifacts
artifacts
*.d.mk
*.d.mk
content/archived-Einführung-in-die-politische-Geschichte-Chinas
content/archived-Einführung-in-die-politische-Geschichte-Chinas
templates
/*.apkg
NOTICE
This diff is collapsed.
Click to expand it.
make/changelogs.mk
+
1
−
1
View file @
af48aa15
...
@@ -11,7 +11,7 @@ GIT_VERSION_RANGES = $(join \
...
@@ -11,7 +11,7 @@ GIT_VERSION_RANGES = $(join \
# files that will change if we fetch new tags => if anything is changed,
# files that will change if we fetch new tags => if anything is changed,
# we rebuild all changelogs (in case the history was rewritten somehow)
# we rebuild all changelogs (in case the history was rewritten somehow)
# deferred in case we do a fetch first
# deferred in case we do a fetch first
GIT_TAG_FILES
=
$(
wildcard
$(
and
$(
GIT_DIR
)
,
$(
GIT_DIR
)
/
)
.git/refs/tags/
*
)
$(
and
$(
GIT_DIR
)
,
$(
GIT_DIR
)
/
)
.git/packed-refs
GIT_TAG_FILES
=
$(
wildcard
$(
or
$(
GIT_DIR
)
,.git
)
/refs/tags/
*
)
$(
or
$(
GIT_DIR
)
,.git
)
/packed-refs
VER_CHANGELOGS_MARKDOWN
:=
$(
foreach VER,
$(
GIT_VERSIONS
)
,
\
VER_CHANGELOGS_MARKDOWN
:=
$(
foreach VER,
$(
GIT_VERSIONS
)
,
\
$(
BUILD_PREFIX
)
CHANGELOG-
$(
VER
)
.md
)
$(
BUILD_PREFIX
)
CHANGELOG-
$(
VER
)
.md
)
VER_CHANGELOGS_HTML
:=
$(
foreach VER,
$(
GIT_VERSIONS
)
,
\
VER_CHANGELOGS_HTML
:=
$(
foreach VER,
$(
GIT_VERSIONS
)
,
\
...
...
This diff is collapsed.
Click to expand it.
make/release.mk
+
2
−
2
View file @
af48aa15
# part before the npm version in the release directory name
# part before the npm version in the release directory name
RELEASE_DIR_STEM
=
sinologie-anki-pack
RELEASE_DIR_STEM
?
=
sinologie-anki-pack
VERSION
:
=
$(
shell
grep
'"version":'
package.json
-m
1 |
cut
-d
'"'
-f
4
)
VERSION
?
=
$(
shell
grep
'"version":'
package.json
-m
1 |
cut
-d
'"'
-f
4
)
RELEASE_DIR
:=
$(
BUILD_PREFIX
)$(
RELEASE_DIR_STEM
)
-
$(
VERSION
)
RELEASE_DIR
:=
$(
BUILD_PREFIX
)$(
RELEASE_DIR_STEM
)
-
$(
VERSION
)
RELEASE_ZIP
:=
$(
RELEASE_DIR
)
.zip
RELEASE_ZIP
:=
$(
RELEASE_DIR
)
.zip
...
...
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