Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
fix - Fixed invalid format of nuget.config
Browse files Browse the repository at this point in the history
We've fixed invalid XML format of NuGet.config

---

NuGet.config generated by this tool now honors the XML format.

---

Type: fix
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Aug 17, 2023
1 parent 0a6b064 commit b609096
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-ppa-package-with-lintian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
run: |
mv debian ..
mv .github ..
tar cfv ../nuglobal_0.1.0.orig.tar .
xz ../nuglobal_0.1.0.orig.tar
tar cfv ../nuglobal_0.1.1.orig.tar .
xz ../nuglobal_0.1.1.orig.tar
mv ../debian .
- name: Build package
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ppa-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
run: |
mv debian ..
mv .github ..
tar cfv ../nuglobal_0.1.0.orig.tar .
xz ../nuglobal_0.1.0.orig.tar
tar cfv ../nuglobal_0.1.1.orig.tar .
xz ../nuglobal_0.1.1.orig.tar
mv ../debian .
- name: Build package
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pushamend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
- name: Download original source
run: |
wget --output-document=../nuglobal_0.1.0.orig.tar.xz https://launchpad.net/~eofla/+archive/ubuntu/aptivi-devapps/+sourcefiles/nuglobal/0.1.0/nuglobal_0.1.0.orig.tar.xz
tar xf ../nuglobal_0.1.0.orig.tar.xz .
wget --output-document=../nuglobal_0.1.1.orig.tar.xz https://launchpad.net/~eofla/+archive/ubuntu/aptivi-devapps/+sourcefiles/nuglobal/0.1.1/nuglobal_0.1.1.orig.tar.xz
tar xf ../nuglobal_0.1.1.orig.tar.xz .
mv .github ..
- name: Build source package
run: debuild -S

- name: Push to Launchpad
run: dput ppa:eofla/aptivi-devapps ../nuglobal_0.1.0*_source.changes
run: dput ppa:eofla/aptivi-devapps ../nuglobal_0.1.1*_source.changes
6 changes: 3 additions & 3 deletions .github/workflows/pushtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
run: |
mv debian ..
mv .github ..
tar cfv ../nuglobal_0.1.0.orig.tar .
xz ../nuglobal_0.1.0.orig.tar
tar cfv ../nuglobal_0.1.1.orig.tar .
xz ../nuglobal_0.1.1.orig.tar
mv ../debian .
- name: Build source package
run: debuild -S -sa

- name: Push to Launchpad
run: dput ppa:eofla/aptivi-devapps ../nuglobal_0.1.0*_source.changes
run: dput ppa:eofla/aptivi-devapps ../nuglobal_0.1.1*_source.changes
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nuglobal"
version = "0.1.0"
version = "0.1.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
7 changes: 6 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
nuglobal (0.1.1-1) jammy; urgency=medium

* Fixed invalid format of NuGet.config

-- EoflaOE <[email protected]> Thu, 17 Aug 2023 12:41:50 +0300

nuglobal (0.1.0-1) jammy; urgency=medium

* Initial release

-- EoflaOE <[email protected]> Mon, 14 Aug 2023 20:48:50 +0300

3 changes: 1 addition & 2 deletions src/ng_package_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,7 @@ pub fn ng_init_packages(group: &str, path_to_target: &str, systemwide: bool) ->
None => (),
};
let ng_nuget_config_contents =
r#"
<?xml version="1.0" encoding="utf-8"?>
r#"<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
Expand Down

0 comments on commit b609096

Please sign in to comment.