Skip to content

Commit d2f94da

Browse files
authored
Merge pull request #360 from WhitewaterFoundry/development
Development
2 parents a9c9689 + 70270e0 commit d2f94da

File tree

6 files changed

+19
-13
lines changed

6 files changed

+19
-13
lines changed

.circleci/config.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
version: 2.1
2+
parameters:
3+
package-version:
4+
type: string
5+
default: "1.0"
26

37
jobs:
48
shellcheck:
@@ -31,7 +35,7 @@ jobs:
3135
name: Update changelog
3236
command: |
3337
rm ./debian/changelog
34-
dch --create --distribution bullseye --package "pengwin-setup" --newversion 0.1-${CIRCLE_BUILD_NUM} "Built on Circle CI"
38+
dch --create --distribution bullseye --package "pengwin-setup" --newversion << pipeline.parameters.package-version >>-${CIRCLE_BUILD_NUM} "Built on Circle CI"
3539
- run:
3640
name: Build the package
3741
command: debuild -i -us -uc -b
@@ -40,7 +44,7 @@ jobs:
4044
command: mkdir -p /tmp/pkgs
4145
- run:
4246
name: Copy package to workspace
43-
command: cp ../pengwin-setup_0.1-${CIRCLE_BUILD_NUM}_all.deb /tmp/pkgs
47+
command: cp ../pengwin-setup_<< pipeline.parameters.package-version >>-${CIRCLE_BUILD_NUM}_all.deb /tmp/pkgs
4448
- persist_to_workspace:
4549
root: /tmp/pkgs
4650
paths: [ . ]
@@ -96,7 +100,7 @@ jobs:
96100
command: gem install package_cloud
97101
- run:
98102
name: Push deb package bullseye
99-
command: package_cloud push whitewaterfoundry/pengwin-setup/debian/bullseye /tmp/pkgs/pengwin-setup_0.1-*_all.deb
103+
command: package_cloud push whitewaterfoundry/pengwin-setup/debian/bullseye /tmp/pkgs/pengwin-setup_<< pipeline.parameters.package-version >>-*_all.deb
100104
deploydevdeb:
101105
docker:
102106
- image: circleci/ruby:2.3-jessie
@@ -109,7 +113,7 @@ jobs:
109113
command: gem install package_cloud
110114
- run:
111115
name: Push deb package bullseye
112-
command: package_cloud push whitewaterfoundry/pengwin-setup-dev/debian/bullseye /tmp/pkgs/pengwin-setup_0.1-*_all.deb
116+
command: package_cloud push whitewaterfoundry/pengwin-setup-dev/debian/bullseye /tmp/pkgs/pengwin-setup_<< pipeline.parameters.package-version >>-*_all.deb
113117
workflows:
114118
version: 2
115119
testdebbuild:

debian/copyright

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ Upstream-Name: pengwin-setup
33
Source: https://github.com/WhitewaterFoundry/pengwin-setup
44

55
Files: *
6-
Copyright: 2019 Whitewater Foundry, Ltd. Co.
7-
License: Expat
6+
Copyright: 2022 Whitewater Foundry, Ltd. Co.
7+
License: Expat
88
Permission is hereby granted, free of charge, to any person obtaining a copy
99
of this software and associated documentation files (the "Software"), to deal
1010
in the Software without restriction, including without limitation the rights
1111
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1212
copies of the Software, and to permit persons to whom the Software is
13-
furnished to do so, subject to the following conditions:
13+
furnished to do so, subject to the following conditions:
1414
.
1515
The above copyright notice and this permission notice shall be included in all
1616
copies or substantial portions of the Software.
@@ -22,4 +22,3 @@ License: Expat
2222
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2323
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2424
SOFTWARE.
25-

pengwin-setup.d/java.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ EOF
3939

4040
curl https://raw.githubusercontent.com/Bash-it/bash-it/master/completion/available/sdkman.completion.bash | sudo tee /etc/bash_completion.d/sdkman.bash
4141

42-
message --title "SDKMan" --msgbox "To install Java use: \n\nsdk list java\n\nThen: \n\nsdk install java 'version'" 15 60
42+
sdk install java
43+
44+
message --title "SDKMan" --msgbox "$(sdk c java)\n\nTo install other Java versions use: \n\nsdk list java\n\nThen: \n\nsdk install java 'version'" 17 60
4345

4446
touch "${HOME}"/.should-restart
4547
else

pengwin-setup.d/pythonpi.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ function install_poetry() {
7878
echo "Installing POETRY"
7979
createtmp
8080
install_packages build-essential python3.9 python3.9-distutils idle-python3.9 python3-venv
81-
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
82-
source $HOME/.poetry/env
81+
curl -sSL https://install.python-poetry.org | python3 -
82+
83+
source "${HOME}"/.poetry/env
8384
poetry self update
8485
poetry completions bash | sudo tee /usr/share/bash-completion/completions/poetry.bash-completion
8586

pengwin-setup.d/vcxsrv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# shellcheck source=./common.sh
44
source "$(dirname "$0")/common.sh" "$@"
55

6-
version="1.20.9.0"
6+
version="1.20.14.0"
77

88
if (confirm --title "VCXSRV" --yesno "Would you like to install the VcXsrv X-server? This will be installed to your Windows home directory under .vcxsrv" 8 80); then
99
echo "Installing VcXsrv"

pengwin-setup.d/x410.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EOF
3333
else
3434
if (confirm --title "X410" --yesno "It seems that X410 is not installed on your machine. Would you like to view a link to X410 (recommended) on the Microsoft Store?" 10 80) then
3535
echo "Running $ wslview <link>"
36-
wslview https://afflnk.microsoft.com/c/1291904/433017/7593?u=https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fp%2Fx410%2F9nlp712zmn9q%23activetab%3Dpivot%3Aoverviewtab
36+
wslview 'ms-windows-store://pdp/?PRODUCTID=9nlp712zmn9q&cid=pengwin-setup'
3737
else
3838
echo "Skipping X410"
3939
fi

0 commit comments

Comments
 (0)