Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Sep 21, 2023
1 parent 58dbe50 commit 4774f3f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
2 changes: 2 additions & 0 deletions build/deb_rpm/v2-jf/build-scripts/deb-install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

wget -qO - https://releases.jfrog.io/artifactory/api/gpg/key/public | apt-key add -;
echo "deb https://releases.jfrog.io/artifactory/jfrog-debs xenial contrib" | sudo tee -a /etc/apt/sources.list;
apt update;
Expand Down
14 changes: 9 additions & 5 deletions build/deb_rpm/v2-jf/build-scripts/rpm-install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
echo "[jfrog-cli]" > jfrog-cli.repo;
echo "name=jfrog-cli" >> jfrog-cli.repo;
echo "baseurl=https://releases.jfrog.io/artifactory/jfrog-rpms" >> jfrog-cli.repo;
echo "enabled=1" >> jfrog-cli.repo;
echo "gpgcheck=0" >> jfrog-cli.repo;
#!/bin/bash

{
echo "[jfrog-cli]"
echo "name=jfrog-cli"
echo "baseurl=https://releases.jfrog.io/artifactory/jfrog-rpms"
echo "enabled=1"
echo "gpgcheck=0"
} >> jfrog-cli.repo
sudo mv jfrog-cli.repo /etc/yum.repos.d/;
yum install -y jfrog-cli-v2-jf;
2 changes: 2 additions & 0 deletions build/deb_rpm/v2/build-scripts/deb-install.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

wget -qO - https://releases.jfrog.io/artifactory/api/gpg/key/public | apt-key add -;
echo "deb https://releases.jfrog.io/artifactory/jfrog-debs xenial contrib" | sudo tee -a /etc/apt/sources.list;
apt update;
Expand Down
14 changes: 9 additions & 5 deletions build/deb_rpm/v2/build-scripts/rpm-install.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
echo "[jfrog-cli]" > jfrog-cli.repo;
echo "name=jfrog-cli" >> jfrog-cli.repo;
echo "baseurl=https://releases.jfrog.io/artifactory/jfrog-rpms" >> jfrog-cli.repo;
echo "enabled=1" >> jfrog-cli.repo;
echo "gpgcheck=0" >> jfrog-cli.repo;
#!/bin/bash

{
echo "[jfrog-cli]"
echo "name=jfrog-cli"
echo "baseurl=https://releases.jfrog.io/artifactory/jfrog-rpms"
echo "enabled=1"
echo "gpgcheck=0"
} >> jfrog-cli.repo
sudo mv jfrog-cli.repo /etc/yum.repos.d/;
yum install -y jfrog-cli-v2;
jf intro;

0 comments on commit 4774f3f

Please sign in to comment.