forked from OpenSmalltalk/opensmalltalk-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Former-commit-id: e640ff8333e5656dcf78361c988838e573cf699f
- Loading branch information
Showing
46 changed files
with
1,594 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"package": { | ||
"name": "cog", | ||
"repo": "vm", | ||
"subject": "opensmalltalk" | ||
}, | ||
"version": { | ||
"name": "$Rev$", | ||
"desc": "Automatic build" | ||
}, | ||
"files": [ | ||
{"includePattern": "./(cog_.*\\.(?:gz|zip))", "uploadPattern": "$1"} | ||
], | ||
"publish": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/perl -p | ||
|
||
s/\$Date[^\$]*\$/\$Date\$/; | ||
s/\$Rev[^\$]*\$/\$Rev\$/; | ||
s/\$URL[^\$]*\$/\$URL\$/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/perl | ||
use POSIX qw(strftime); | ||
|
||
$myrev = `git log -n1 --format="%at"`; | ||
$myrev =~ s/\s+$//m; | ||
$ENV{'TZ'} = 'UTC'; | ||
$myrev = strftime "%Y%m%d%H%M", gmtime($myrev); | ||
$myrev =~ s/\s+$//m; | ||
|
||
$branch = `git symbolic-ref HEAD 2>/dev/null`; | ||
$branch =~ s/\s+$//m; | ||
$branch =~ s/refs\/heads\///; | ||
|
||
if ( $branch eq "Cog" || $branch eq "dev" || $branch eq "master" || $branch eq "" ) { | ||
$myrev = $myrev; | ||
} else { | ||
$myrev = $myrev . '-' . $branch . ''; | ||
} | ||
|
||
$url=`git remote get-url origin 2>/dev/null`; | ||
$url =~ s/\s+$//m; | ||
|
||
$date = `git log --format=%ad -1`; | ||
$date =~ s/\s+$//m; | ||
|
||
while (<STDIN>) { | ||
s/\$Date[^\$]*\$/\$Date: $date \$/; | ||
s/\$URL[^\$]*\$/\$URL: $url \$/; | ||
s/\$Rev[^\$]*\$/\$Rev: $myrev \$/; | ||
} continue { | ||
print or die "-p destination: $!\n"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
sq*SCCSVersion.h filter=RevDateURL ident | ||
*.changes -diff | ||
*.sources -diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[filter "RevDateURL"] | ||
smudge = .git_filters/RevDateURL.smudge | ||
clean = .git_filters/RevDateURL.clean | ||
required | ||
[merge] | ||
renormalize = true |
Oops, something went wrong.