Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flac
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Xiph.Org
flac
Commits
426172a1
Unverified
Commit
426172a1
authored
1 month ago
by
Martijn van Beurden
Committed by
GitHub
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix version string from git for shallow clone (#788)
Also, make msys2 action find git executable
parent
e1f62ebe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/msys2.yml
+1
-1
1 addition, 1 deletion
.github/workflows/msys2.yml
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
with
2 additions
and
2 deletions
.github/workflows/msys2.yml
+
1
−
1
View file @
426172a1
...
...
@@ -24,7 +24,7 @@ jobs:
-
name
:
Build, run tests and prepare package
shell
:
msys2 {0}
run
:
|
PATH=$PATH:/c/ProgramData/chocolatey/bin/
PATH=$PATH:/c/ProgramData/chocolatey/bin/
:/c/Program\ Files/Git/bin/
./autogen.sh
./configure --enable-static --disable-shared # This is because the libtool helper script doesn't handle UTF-8 filenames correctly
make LDFLAGS='-all-static' # Otherwise ogg isn't linked statically
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
426172a1
...
...
@@ -512,7 +512,7 @@ AC_CHECK_PROG(GIT_FOUND,git,yes)
if test x$GIT_FOUND$enable_version_from_git = "xyesyes"; then
GIT_COMMIT_TAG=`git -C $srcdir --git-dir=.git describe --tags --exact-match 2>/dev/null`
GIT_COMMIT_HASH=`git -C $srcdir --git-dir=.git log -1 --pretty=format:%
h
2>/dev/null`
GIT_COMMIT_HASH=`git -C $srcdir --git-dir=.git log -1 --pretty=format:%
H
2>/dev/null
| head -c 8
`
GIT_COMMIT_DATE=`git -C $srcdir --git-dir=.git log -1 --pretty=format:%cd --date=format:%Y%m%d 2>/dev/null`
if test ${#GIT_COMMIT_HASH} = 8 && test ${#GIT_COMMIT_DATE} = 8; then
GIT_COMMIT_VERSION_AVAIL=yes
...
...
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