Remove shell-$-prefixes for easier c+p
Ximin Luo
5 years ago
81 | 81 | If the source package is already in Debian and this version does not introduce |
82 | 82 | new binaries, then you can just go ahead and directly dput the source package. |
83 | 83 | |
84 | $ dput ${DEBSRC}_${DEBVER}_source.changes | |
84 | dput ${DEBSRC}_${DEBVER}_source.changes | |
85 | 85 | |
86 | 86 | If this is a NEW source package or introduces NEW binary packages not already |
87 | 87 | in the Debian archive, you will need to build a binary package out of it. The |
88 | 88 | recommended way is to run something like: |
89 | 89 | |
90 | $ cd build | |
91 | $ ./sbuild-and-sign.sh $CRATE $VER | |
92 | $ dput ${DEBSRC}_${DEBVER}_${DEB_HOST_ARCH}.changes | |
90 | cd build | |
91 | ./sbuild-and-sign.sh $CRATE $VER | |
92 | dput ${DEBSRC}_${DEBVER}_${DEB_HOST_ARCH}.changes | |
93 | 93 | |
94 | 94 | See https://wiki.debian.org/sbuild for instructions on how to set it up. The |
95 | 95 | other tools are from the 'devscripts' package. |
104 | 104 | that other people see it's been uploaded. Then, checkout another branch like |
105 | 105 | master to continue development on other packages. |
106 | 106 | |
107 | $ git push origin $RELBRANCH && git checkout master | |
107 | git push origin $RELBRANCH && git checkout master | |
108 | 108 | |
109 | 109 | Merge the pending-release branch when ACCEPTED |
110 | 110 | ============================================== |
112 | 112 | When it's ACCEPTED by the Debian FTP masters, you may then merge this branch |
113 | 113 | back into the master branch, delete it, and push these updates to origin. |
114 | 114 | |
115 | $ git checkout master && git merge $RELBRANCH && git branch -d $RELBRANCH | |
116 | $ git push origin master :$RELBRANCH | |
115 | git checkout master && git merge $RELBRANCH && git branch -d $RELBRANCH | |
116 | git push origin master :$RELBRANCH | |
117 | 117 | |
118 | 118 | ---- |
119 | 119 | |
120 | 120 | The above assumes you are a Debian Developer with upload rights. If not, you |
121 | 121 | should revert what I just did. To do that, run: |
122 | 122 | |
123 | $ git checkout master && git branch -D $RELBRANCH | |
123 | git checkout master && git branch -D $RELBRANCH | |
124 | 124 | |
125 | 125 | Then ask a Debian Developer to re-run me ($*) on your behalf. |
126 | 126 | eof |