Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
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
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
Hugo Ishimaru
asdf
Commits
2244d34c
Commit
2244d34c
authored
14 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Tweak release scripts
parent
09b9b8a4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
GNUmakefile
+0
-3
0 additions, 3 deletions
GNUmakefile
bin/asdf-version.sh
+1
-1
1 addition, 1 deletion
bin/asdf-version.sh
bin/build-tarball.sh
+1
-1
1 addition, 1 deletion
bin/build-tarball.sh
bin/bump-revision-and-tag.sh
+0
-56
0 additions, 56 deletions
bin/bump-revision-and-tag.sh
with
2 additions
and
61 deletions
GNUmakefile
+
0
−
3
View file @
2244d34c
...
...
@@ -18,9 +18,6 @@ lisp ?= sbcl
install
:
archive-copy
bump_revision
:
FORCE
bin/bump-revision-and-tag.sh
archive
:
FORCE
sbcl
--userinit
/dev/null
--sysinit
/dev/null
--load
bin/make-helper.lisp
\
--eval
"(rewrite-license)"
--eval
"(quit)"
...
...
This diff is collapsed.
Click to expand it.
bin/asdf-version.sh
+
1
−
1
View file @
2244d34c
...
...
@@ -4,7 +4,7 @@
# exit code is 1 if it cannot be found
tag
=
`
git describe
--tags
`
tag
=
`
git describe
--tags
--match
'[0-9].[0-9][0-9][0-9]'
`
if
[
"
$tag
"
==
""
]
;
then
exit
1
fi
...
...
This diff is collapsed.
Click to expand it.
bin/build-tarball.sh
+
1
−
1
View file @
2244d34c
...
...
@@ -4,7 +4,7 @@
# annotated tag
tag
=
`
git describe
--tags
`
tag
=
`
git describe
--tags
--match
'[0-9].[0-9][0-9][0-9]'
`
if
[
"
$tag
"
==
""
]
;
then
echo
"Unable to find most recent tag, exiting"
exit
1
...
...
This diff is collapsed.
Click to expand it.
bin/bump-revision-and-tag.sh
deleted
100755 → 0
+
0
−
56
View file @
09b9b8a4
#!/bin/sh
# make sure that there are no pending comments
# make sure you're on master
branch
=
`
git branch |
grep
"
\*
"
`
if
[
"
$branch
"
!=
"* master"
]
;
then
echo
"error: git branch is
$branch
, not master"
exit
-1
fi
tag
=
`
git describe
--tag
`
if
[
"
$tag
"
==
""
]
;
then
echo
"error: git tag not found"
exit
-1
fi
major
=
`
expr
//
$tag
:
'//\(.*\)\.'
`
minor
=
`
expr
//
$tag
:
'.*\.\(.*\)'
`
minor
=
`
echo
"
$minor
"
| gawk
-F
-
'{print $1}'
`
if
[
"
$major
"
==
""
]
;
then
echo
"error: unable to parse major version in
$tag
"
exit
-1
fi
if
[
"
$minor
"
==
""
]
;
then
echo
"error: unable to parse minor version in
$tag
"
exit
-1
fi
bumped
=
`
expr
$minor
+ 1
`
if
[
!
"
$?
"
==
"0"
]
;
then
echo
"Unable to compute new version from
$minor
"
exit
-2
fi
new_version
=
"
$major
.
$bumped
"
cp
asdf.lisp asdf.bak
perl
-pi
-e
"s/(
\(
asdf-version
\"
)[^
\"
]*(
\"\)
)/
\$
{1}
$new_version
\$
{2}/"
asdf.lisp
if
[
!
"
$?
"
==
"0"
]
;
then
echo
"Unable to perl replace version"
exit
-3
fi
echo
"Update reversion and commit"
git add asdf.lisp
if
[
!
"
$?
"
==
"0"
]
;
then
echo
"Unable to git add"
exit
-4
fi
git commit
-m
"update ASDF version to
$new_version
"
if
[
!
"
$?
"
==
"0"
]
;
then
echo
"Unable to git commit"
exit
-5
fi
bin/tag-release.sh
$new_version
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