mirror of
https://github.com/EpicMorg/jira-issue-web-reporter.git
synced 2025-04-10 11:30:01 +03:00
update build process
This commit is contained in:
parent
d7b5ff8338
commit
ce30acbc17
77
Dockerfile
77
Dockerfile
@ -1,22 +1,67 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim AS base
|
##################################################################
|
||||||
WORKDIR /app
|
##################################################################
|
||||||
|
##################################################################
|
||||||
|
# Temp Build Layer
|
||||||
|
##################################################################
|
||||||
|
##################################################################
|
||||||
|
##################################################################
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build
|
||||||
WORKDIR /src-temp
|
|
||||||
COPY ["./src/epicmorg.jira.issue.web.reporter", "jwr/"]
|
|
||||||
RUN dotnet restore "jwr/epicmorg.jira.issue.web.reporter.csproj"
|
|
||||||
|
|
||||||
COPY . .
|
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||||
WORKDIR "/src-temp/jwr"
|
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||||
RUN cat ./epicmorg.jira.issue.web.reporter.csproj && \
|
ARG DOTNET_VER=net8.0
|
||||||
dotnet build "./epicmorg.jira.issue.web.reporter.csproj" -c Release -o /app/build
|
|
||||||
|
|
||||||
FROM build AS publish
|
COPY ["./src", "/tmp/src"]
|
||||||
RUN dotnet publish "./epicmorg.jira.issue.web.reporter.csproj" -c Release -o /app/publish
|
|
||||||
|
WORKDIR /tmp/src
|
||||||
|
|
||||||
|
RUN cd /tmp/src && \
|
||||||
|
mkdir -p /app/publish && \
|
||||||
|
dotnet publish -p:PublishProfile=linux-x64 --force && \
|
||||||
|
rm -rfv /tmp/src/bin/Release/${DOTNET_VER}/linux-x64/publish/epicmorg.jira.issue.web.reporter.pdb && \
|
||||||
|
rm -rfv /tmp/src/bin/Release/${DOTNET_VER}/linux-x64/publish/appsettings.Development.json && \
|
||||||
|
cp -rfv /tmp/src/bin/Release/${DOTNET_VER}/linux-x64/publish/* /app/publish
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
##################################################################
|
||||||
|
##################################################################
|
||||||
|
# Main Final Layer
|
||||||
|
##################################################################
|
||||||
|
##################################################################
|
||||||
|
##################################################################
|
||||||
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim
|
||||||
|
|
||||||
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
LABEL org.opencontainers.image.vendor="EpicMorg DevTeam, developer@epicm.org"
|
||||||
|
LABEL org.opencontainers.image.authors="STAM, kasthack, Aleks-Z"
|
||||||
|
LABEL org.opencontainers.image.source="https://github.com/EpicMorg/docker"
|
||||||
|
LABEL org.opencontainers.image.url="https://github.com/EpicMorg/docker"
|
||||||
|
LABEL donate.crypto.TON="EQDvHXRK-K1ZieJhgTD9JZQk7xCnWzRbctYnUkWq1lZq1bUg"
|
||||||
|
LABEL donate.crypto.ETH="0x26a8443a694f08cdfec966aa6fd72c45068753ec"
|
||||||
|
LABEL donate.crypto.BTC="bc1querz8ug9asjmsuy6yn4a94a2athgprnu7e5zq2"
|
||||||
|
LABEL donate.crypto.LTC="ltc1qtwwacq8f0n76fer2y83wxu540hddnmf8cdrlvg"
|
||||||
|
LABEL donate.crypto.NVC="4SbMynYETyhmKdggu8f38ULU6yQKiJPuo6"
|
||||||
|
LABEL donate.crypto.DOGE="DHyfE1CZzWtyaQiaMmv6g4KvXVQRUgrYE6"
|
||||||
|
LABEL donate.crypto.PPC="pQWArPzYoLppNe7ew3QPfto1k1eq66BYUB"
|
||||||
|
LABEL donate.crypto.RVN="R9t2LKeLhDSZBKNgUzSDZAossA3UqNvbV3"
|
||||||
|
LABEL donate.crypto.ZEC="t1KRMMmwMSZth8vJcd2ZHtPEFKTQ74yVixE"
|
||||||
|
LABEL donate.crypto.XMR="884PqZ1gDjWW7fKxtbaeRoBeSh9EGZbkqUyLriWmuKbwLZrAJdYUs4wQxoVfEJoW7LBhdQMP9cFhZQpJr6xvg7esHLdCbb1"
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Copy compilled app from dev stage and prepare
|
||||||
|
##################################################################
|
||||||
|
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||||
|
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||||
|
|
||||||
FROM base AS final
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=build /app/publish .
|
||||||
ENTRYPOINT ["dotnet", "epicmorg.jira.issue.web.reporter.dll"]
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
EXPOSE 80
|
EXPOSE 443
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
|
##################################################################
|
||||||
|
# Run app in foreground
|
||||||
|
##################################################################
|
||||||
|
ENTRYPOINT ["dotnet", "epicmorg.jira.issue.web.reporter.dll"]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#version: '3'
|
#version: '3'
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: "jira-issue-web-reporter-docker"
|
image: "epicmorg/jira-issue-web-reporter-docker:develop"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
11
src/Properties/PublishProfiles/linux-arm.pubxml
Normal file
11
src/Properties/PublishProfiles/linux-arm.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-arm\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>linux-arm</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/linux-arm.user
Normal file
6
src/Properties/PublishProfiles/linux-arm.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/linux-arm64.pubxml
Normal file
11
src/Properties/PublishProfiles/linux-arm64.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-arm64\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>linux-arm64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/linux-arm64.user
Normal file
6
src/Properties/PublishProfiles/linux-arm64.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/linux-bionic-x64.pubxml
Normal file
11
src/Properties/PublishProfiles/linux-bionic-x64.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-bionic-x64\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>linux-bionic-x64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/linux-bionic-x64.user
Normal file
6
src/Properties/PublishProfiles/linux-bionic-x64.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/linux-musl-x64.pubxml
Normal file
11
src/Properties/PublishProfiles/linux-musl-x64.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-musl-x64\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>linux-musl-x64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/linux-musl-x64.user
Normal file
6
src/Properties/PublishProfiles/linux-musl-x64.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/linux-x64.pubxml
Normal file
11
src/Properties/PublishProfiles/linux-x64.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\linux-x64\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/linux-x64.user
Normal file
6
src/Properties/PublishProfiles/linux-x64.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/osx-arm64.pubxml
Normal file
11
src/Properties/PublishProfiles/osx-arm64.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\osx-arm64\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>osx-arm64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/osx-arm64.user
Normal file
6
src/Properties/PublishProfiles/osx-arm64.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/osx-x64.pubxml
Normal file
11
src/Properties/PublishProfiles/osx-x64.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\osx-x64\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>osx-x64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/osx-x64.user
Normal file
6
src/Properties/PublishProfiles/osx-x64.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/win-arm64.pubxml
Normal file
11
src/Properties/PublishProfiles/win-arm64.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\win-arm64\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/win-arm64.user
Normal file
6
src/Properties/PublishProfiles/win-arm64.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/win-x64.pubxml
Normal file
11
src/Properties/PublishProfiles/win-x64.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\win-x64\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
10
src/Properties/PublishProfiles/win-x64.pubxml.user
Normal file
10
src/Properties/PublishProfiles/win-x64.pubxml.user
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<History>False|2024-09-05T13:09:39.8829432Z||;</History>
|
||||||
|
<LastFailureDetails />
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
11
src/Properties/PublishProfiles/win-x86.pubxml
Normal file
11
src/Properties/PublishProfiles/win-x86.pubxml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
|
||||||
|
<!--target runtime-->
|
||||||
|
<PublishDir>bin\Release\net8.0\win-x86\publish\</PublishDir>
|
||||||
|
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
6
src/Properties/PublishProfiles/win-x86.pubxml.user
Normal file
6
src/Properties/PublishProfiles/win-x86.pubxml.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
</Project>
|
58
src/build.bat
Normal file
58
src/build.bat
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
SET DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||||
|
SET DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||||
|
|
||||||
|
dotnet.exe publish -p:PublishProfile=win-x64 --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=win-x86 --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=win-arm64 --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=osx-x64 --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=osx-arm64 --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=linux-x64 --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=linux-musl-x64 --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=linux-arm --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=linux-arm64 --force
|
||||||
|
dotnet.exe publish -p:PublishProfile=linux-bionic-x64 --force
|
||||||
|
|
||||||
|
del /F bin\\Release\\net8.0\\win-x64\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\win-x86\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\win-arm64\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\osx-x64\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\osx-arm64\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\linux-x64\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\linux-musl-x64\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\linux-arm\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\linux-arm64\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
del /F bin\\Release\\net8.0\\linux-bionic-x64\\publish\\epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
|
||||||
|
del /F bin\\Release\\net8.0\\win-x64\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\win-x86\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\win-arm64\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\osx-x64\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\osx-arm64\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\linux-x64\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\linux-musl-x64\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\linux-arm\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\linux-arm64\\publish\\appsettings.Development.json
|
||||||
|
del /F bin\\Release\\net8.0\\linux-bionic-x64\\publish\\appsettings.Development.json
|
||||||
|
|
||||||
|
type nul > bin/Release/net8.0/win-x64/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/win-x86/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/win-arm64/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/osx-x64/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/osx-arm64/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/linux-x64/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/linux-musl-x64/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/linux-arm/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/linux-arm64/publish/createdump.exe.ignore
|
||||||
|
type nul > bin/Release/net8.0/linux-bionic-x64/publish/createdump.exe.ignore
|
||||||
|
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-win-x64.zip ./bin/Release/net8.0/win-x64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-win-x86.zip ./bin/Release/net8.0/win-x86/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-win-arm64.zip ./bin/Release/net8.0/win-arm64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-osx-x64.zip ./bin/Release/net8.0/osx-x64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-osx-arm64.zip ./bin/Release/net8.0/osx-arm64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-x64.zip ./bin/Release/net8.0/linux-x64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-musl-x64.zip ./bin/Release/net8.0/linux-musl-x64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-arm.zip ./bin/Release/net8.0/linux-arm/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-arm64.zip ./bin/Release/net8.0/linux-arm64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-bionic-x64.zip ./bin/Release/net8.0/linux-bionic-x64/publish/*
|
||||||
|
|
55
src/build.sh
Normal file
55
src/build.sh
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
export DOTNET_CLI_TELEMETRY_OPTOUT=true
|
||||||
|
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
|
||||||
|
|
||||||
|
dotnet publish -p:PublishProfile=win-x64 --force
|
||||||
|
dotnet publish -p:PublishProfile=win-x86 --force
|
||||||
|
dotnet publish -p:PublishProfile=win-arm64 --force
|
||||||
|
dotnet publish -p:PublishProfile=osx-x64 --force
|
||||||
|
dotnet publish -p:PublishProfile=osx-arm64 --force
|
||||||
|
dotnet publish -p:PublishProfile=linux-x64 --force
|
||||||
|
dotnet publish -p:PublishProfile=linux-musl-x64 --force
|
||||||
|
dotnet publish -p:PublishProfile=linux-arm --force
|
||||||
|
dotnet publish -p:PublishProfile=linux-arm64 --force
|
||||||
|
|
||||||
|
rm -rfv ./bin/Release/net8.0/win-x64/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
rm -rfv ./bin/Release/net8.0/win-x86/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
rm -rfv ./bin/Release/net8.0/win-arm64/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
rm -rfv ./bin/Release/net8.0/osx-x64/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
rm -rfv ./bin/Release/net8.0/osx-arm64/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
rm -rfv ./bin/Release/net8.0/linux-x64/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
rm -rfv ./bin/Release/net8.0/linux-musl-x64/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
rm -rfv ./bin/Release/net8.0/linux-arm/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
rm -rfv ./bin/Release/net8.0/linux-arm64/publish/epicmorg.jira.issue.web.reporter.pdb
|
||||||
|
|
||||||
|
rm -rfv ./bin/Release/net8.0/win-x64/publish/appsettings.Development.json
|
||||||
|
rm -rfv ./bin/Release/net8.0/win-x86/publish/appsettings.Development.json
|
||||||
|
rm -rfv ./bin/Release/net8.0/win-arm64/publish/appsettings.Development.json
|
||||||
|
rm -rfv ./bin/Release/net8.0/osx-x64/publish/appsettings.Development.json
|
||||||
|
rm -rfv ./bin/Release/net8.0/osx-arm64/publish/appsettings.Development.json
|
||||||
|
rm -rfv ./bin/Release/net8.0/linux-x64/publish/appsettings.Development.json
|
||||||
|
rm -rfv ./bin/Release/net8.0/linux-musl-x64/publish/appsettings.Development.json
|
||||||
|
rm -rfv ./bin/Release/net8.0/linux-arm/publish/appsettings.Development.json
|
||||||
|
rm -rfv ./bin/Release/net8.0/linux-arm64/publish/appsettings.Development.json
|
||||||
|
|
||||||
|
touch ./bin/Release/net8.0/win-x64/publish/createdump.ignore
|
||||||
|
touch ./bin/Release/net8.0/win-x86/publish/createdump.ignore
|
||||||
|
touch ./bin/Release/net8.0/win-arm64/publish/createdump.ignore
|
||||||
|
touch ./bin/Release/net8.0/osx-x64/publish/createdump.ignore
|
||||||
|
touch ./bin/Release/net8.0/osx-arm64/publish/createdump.ignore
|
||||||
|
touch ./bin/Release/net8.0/linux-x64/publish/createdump.ignore
|
||||||
|
touch ./bin/Release/net8.0/linux-musl-x64/publish/createdump.ignore
|
||||||
|
touch ./bin/Release/net8.0/linux-arm/publish/createdump.ignore
|
||||||
|
touch ./bin/Release/net8.0/linux-arm64/publish/createdump.ignore
|
||||||
|
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-win-x64.zip ././bin/Release/net8.0/win-x64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-win-x86.zip ././bin/Release/net8.0/win-x86/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-win-arm64.zip ././bin/Release/net8.0/win-arm64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-osx-x64.zip ././bin/Release/net8.0/osx-x64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-osx-arm64.zip ././bin/Release/net8.0/osx-arm64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-x64.zip ././bin/Release/net8.0/linux-x64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-musl-x64.zip ././bin/Release/net8.0/linu-musl-x64/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-arm.zip ././bin/Release/net8.0/linux-arm/publish/*
|
||||||
|
7z a -tzip -mx5 -r0 ./bin/epicmorg.jira.issue.web.reporter-net8.0-linux-arm64.zip ././bin/Release/net8.0/linux-arm64/publish/*
|
||||||
|
|
@ -1,5 +1,22 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<!--publish config-->
|
||||||
|
<PublishSingleFile>false</PublishSingleFile>
|
||||||
|
<PublishTrimmed>false</PublishTrimmed>
|
||||||
|
<PublishAot>false</PublishAot>
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
|
<PublishReadyToRun>false</PublishReadyToRun>
|
||||||
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
|
||||||
|
<!--build props-->
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<IsPackable>false</IsPackable>
|
||||||
|
<ApplicationIcon>favicon.ico</ApplicationIcon>
|
||||||
|
|
||||||
|
<!--package metadata-->
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<UserSecretsId>988e0611-42e5-4c51-9300-0b75e780c73a</UserSecretsId>
|
<UserSecretsId>988e0611-42e5-4c51-9300-0b75e780c73a</UserSecretsId>
|
||||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||||
@ -25,4 +42,9 @@
|
|||||||
<PackageReference Include="Atlassian.SDK" Version="13.0.0" />
|
<PackageReference Include="Atlassian.SDK" Version="13.0.0" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.4" />
|
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.4" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Update="appsettings.Development.json">
|
||||||
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 16
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 16.0.29509.3
|
VisualStudioVersion = 16.0.29509.3
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "epicmorg.jira.issue.web.reporter", "epicmorg.jira.issue.web.reporter\epicmorg.jira.issue.web.reporter.csproj", "{7C460FFD-D311-47F3-90CC-C42996BBB2DE}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "epicmorg.jira.issue.web.reporter", "epicmorg.jira.issue.web.reporter.csproj", "{7C460FFD-D311-47F3-90CC-C42996BBB2DE}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 109 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user