Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sinologie STEOP
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
Show more breadcrumbs
kartenaale
Anki Packs
Sinologie STEOP
Commits
0e300f48
Commit
0e300f48
authored
10 months ago
by
Philipp Stadler
Browse files
Options
Downloads
Patches
Plain Diff
chore: add custom release dir stem and fix git reset
parent
9cb11aaa
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+6
-2
6 additions, 2 deletions
Makefile
build.sha
+1
-1
1 addition, 1 deletion
build.sha
version.txt
+1
-0
1 addition, 0 deletions
version.txt
with
8 additions
and
3 deletions
Makefile
+
6
−
2
View file @
0e300f48
export
RELEASE_DIR_STEM
:=
sinologie-1
export
VERSION
:=
$(
file < version.txt
)
export
CONTENT_DIR
:=
$(
PWD
)
/content
export
CONTENT_DIR
:=
$(
PWD
)
/content
# overrides the target of all git commands in this make and the the submake,
# with the effect that changelogs are about the parent repo
export
GIT_DIR
:=
$(
PWD
)
/.git
export
GIT_DIR
:=
$(
PWD
)
/.git
.PHONY
:
apkg
.PHONY
:
apkg
...
@@ -14,10 +18,10 @@ clean:
...
@@ -14,10 +18,10 @@ clean:
test
-d
build
&&
$(
MAKE
)
-C
build clean
||
true
test
-d
build
&&
$(
MAKE
)
-C
build clean
||
true
.PHONY
:
deepclean
.PHONY
:
deepclean
deepclean
:
clean
deepclean
:
rm
-rf
build
rm
-rf
build
build
:
build.git build.sha
build
:
build.git build.sha
-
rm
-rf
build
-
rm
-rf
build
git clone
$(
file < build.git
)
build
git clone
$(
file < build.git
)
build
cd
build
&&
git reset
--hard
$(
file < build.sha
)
cd
build
&&
GIT_DIR
=
$(
PWD
)
/build/.git
git reset
--hard
$(
file < build.sha
)
This diff is collapsed.
Click to expand it.
build.sha
+
1
−
1
View file @
0e300f48
2545166f5b28ef1cec879639d4a40e3aca1e614f
af48aa155e789bece5c5d87cbf269fc9233f09dc
This diff is collapsed.
Click to expand it.
version.txt
0 → 100644
+
1
−
0
View file @
0e300f48
1.0.0
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