Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
b1f05b93
Commit
b1f05b93
authored
Nov 04, 2011
by
Noah Zoschke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dont cd
parent
3a136f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
release
bin/release
+2
-4
No files found.
bin/release
View file @
b1f05b93
#!/usr/bin/env bash
# bin/release <build-dir>
BIN_DIR
=
$(
dirname
$0
)
BIN_DIR
=
$(
cd
$(
dirname
$0
)
;
pwd
)
# absolute path
BUILD_DIR
=
$1
NAME
=
$(
$BIN_DIR
/detect
$BUILD_DIR
)
||
exit
1
cd
$BUILD_DIR
cat
<<
EOF
---
config_vars:
...
...
@@ -16,7 +14,7 @@ EOF
[
"
$NAME
"
=
"Python/Django"
]
||
exit
0
SETTINGS_FILE
=
$(
ls
**
/settings.py |
head
-1
)
SETTINGS_FILE
=
$(
ls
$BUILD_DIR
/
**
/settings.py |
head
-1
)
PROJECT
=
$(
dirname
$SETTINGS_FILE
)
cat
<<
EOF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment