Skip to content

Commit

Permalink
Update snap-creation.yml (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Délèze authored Jul 8, 2022
1 parent e140596 commit 7b59f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/snap-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
sudo apt install --yes git
sudo snap install snapcraft --classic
export ROS_DISTRO=melodic
export ROS_DISTRO=noetic
git clone --recurse-submodules --depth 3 --single-branch --branch ${{ matrix.branch }} https://github.com/cyberbotics/webots.git
export WEBOTS_VERSION=$(cat webots/scripts/packaging/webots_version.txt | sed 's/ revision /-rev/g')
sed -i "s/version:\s*'R[0-9]\{4\}[a-z].*'/version: '$WEBOTS_VERSION'/g" snapcraft.yaml
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
run: |
sudo apt install --yes git
sudo snap install snapcraft --classic
export ROS_DISTRO=melodic
export ROS_DISTRO=noetic
git clone --recurse-submodules --depth 3 --single-branch --branch ${GITHUB_REF#refs/tags/} https://github.com/cyberbotics/webots.git
export WEBOTS_VERSION=$(cat webots/scripts/packaging/webots_version.txt | sed 's/ revision /-rev/g')
sed -i "s/version:\s*'R[0-9]\{4\}[a-z].*'/version: '$WEBOTS_VERSION'/g" snapcraft.yaml
Expand Down

0 comments on commit 7b59f30

Please sign in to comment.