Skip to content

Commit

Permalink
ExtendedNo var is set during compilation when a commit is tagged
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Aloisio committed Apr 1, 2019
1 parent 1707b1e commit 3f6f725
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ jobs:
PROJECT_DIR: "/root/project"
steps:
- checkout
- run:
name: Set EXTENDNO
shell: /bin/bash
command: |
if [ -z "${CIRCLE_TAG}" ]; then
echo "Nothing to do. Not a release"
else
sed -i "s/EXTENDNO=.*/EXTENDNO=${CIRCLE_TAG}/g" release/src-rt/version.conf
fi
- run:
name: Setup toolchain
command: |
Expand Down

0 comments on commit 3f6f725

Please sign in to comment.