Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uScope
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BSS_development
Neuro
uScope
Commits
6467cea4
Commit
6467cea4
authored
4 years ago
by
Roberto-R
Browse files
Options
Downloads
Patches
Plain Diff
Added release pipeline
parent
4cf8d14f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bitbucket-pipelines.yml
+38
-0
38 additions, 0 deletions
bitbucket-pipelines.yml
main.spec
+1
-2
1 addition, 2 deletions
main.spec
with
39 additions
and
2 deletions
bitbucket-pipelines.yml
0 → 100644
+
38
−
0
View file @
6467cea4
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
# -----
#
# A packaged release will be uploaded for a tagged version.
#
image
:
python:3.8
definitions
:
caches
:
pyinstaller
:
build
pipelines
:
tags
:
'
windows*'
:
-
step
:
name
:
Create Windows Release Archive
caches
:
-
pip
-
pyinstaller
script
:
-
apt update -qq && apt install python3-venv zip -y
-
python3 -m pip install --upgrade pip
-
python3 -m venv venv
-
source venv/bin/activate
-
pip install -r requirements.txt
-
pip install pyinstaller
-
pyinstaller main.spec
-
cd dist/uScope/
-
cp ../../README.md .
-
ARCHIVE="uScope_${BITBUCKET_TAG}.zip"
-
zip $ARCHIVE *
-
pipe
:
atlassian/bitbucket-upload-file:0.3.1
variables
:
BITBUCKET_USERNAME
:
$BITBUCKET_USERNAME
BITBUCKET_APP_PASSWORD
:
$BITBUCKET_APP_PASSWORD
FILENAME
:
'
*.zip'
This diff is collapsed.
Click to expand it.
main.spec
+
1
−
2
View file @
6467cea4
...
...
@@ -4,7 +4,6 @@ block_cipher = None
a
=
Analysis
([
'
main.py
'
],
pathex
=
[
'
C:
\\
Users
\\
Robert
\\
source
\\
repos
\\
micropython
\\
tools
\\
uscope
'
],
binaries
=
[],
datas
=
[],
hiddenimports
=
[],
...
...
@@ -26,7 +25,7 @@ exe = EXE(pyz,
bootloader_ignore_signals
=
False
,
strip
=
False
,
upx
=
True
,
icon
=
'
logo.ico
'
,
icon
=
'
images/
logo.ico
'
,
console
=
False
)
coll
=
COLLECT
(
exe
,
a
.
binaries
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment