mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 02:20:48 +00:00
a26ddda387929fbf078bda96fd3c5643135d283a
The script tries to determine the upstream branch name, and finds out which is the first sha1 of the current branch. Then the script tags the branch and generates a git command strings the operator is supposed to check for sanity and enter to push the new tag to the server. With the new tag set each following run of ./util/getversion.sh would generate version strings including the new tag name and number of patches above the branch point. More implementation details are included in the comments in the script. BRANCH=cr50 BUG=b:64698702 TEST=tried the script in cr50 and gru firmware branches: cr50$ <path to>/tagbranch.sh A new tag 'v1.9308_B.0' has been set. Use the following command to push it to the server git push --tags https://chromium.googlesource.com/chromiumos/platform/ec v1.9308_B.0 Or if you want to delete it: git tag -d v1.9308_B.0 cr50$ ./util/getversion.sh | grep -w VERSION #define VERSION "_v1.9308_B.192-b5c9d0aa7" cr50$ cr50$ cd <path/to>gru gru$ <path to>/tagbranch.sh A new tag 'v1.8785_B.0' has been set. Use the following command to push it to the server git push --tags https://chromium.googlesource.com/chromiumos/platform/ec v1.8785_B.0 Or if you want to delete it: git tag -d v1.8785_B.0 es^o: ~/new_projects/gru-8785/src/platform/ec 175 > ./util/getversion.sh | grep -w VERSION gru$ #define VERSION "_v1.8785_B.218-5d857ed8c" gru$ Change-Id: I0c0067f6b7bb837a0c119bc14ff48cb9223a3fa5 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/656575 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%